Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007526/0.007526, allocations: 102.7 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 190.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 299.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9497/0.9497, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003199/0.003199, allocations: 95.86 kB / 0.6814 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5091, allocations: 86.98 MB / 0.7664 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1825/0.6916, allocations: 167 MB / 0.9295 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0207/0.7123, allocations: 16.94 MB / 0.946 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.7144, allocations: 31.81 kB / 0.9461 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.716, allocations: 0.508 MB / 0.9466 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.7213, allocations: 1.503 MB / 0.948 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.7249, allocations: 1.323 MB / 0.9493 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003018/0.728, allocations: 2.498 MB / 0.9518 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.7304, allocations: 1.932 MB / 0.9537 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.7343, allocations: 1.339 MB / 0.955 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.7357, allocations: 0.9607 MB / 0.9559 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000293/0.736, allocations: 208 kB / 0.9561 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4416/1.178, allocations: 1.415 MB / 0.9575 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008634/1.178, allocations: 0.5497 MB / 0.958 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/1.18, allocations: 0.9953 MB / 0.959 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005312/1.185, allocations: 3.053 MB / 0.962 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.185, allocations: 1.719 kB / 0.962 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/1.185, allocations: 0 / 0.962 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.92e-05/1.185, allocations: 1.031 kB / 0.962 GB, free: 6.719 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003939/1.189, allocations: 2.246 MB / 0.9642 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.189, allocations: 9.562 kB / 0.9642 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/1.193, allocations: 0.5041 MB / 0.9647 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/1.194, allocations: 1.123 MB / 0.9658 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-05/1.195, allocations: 125.5 kB / 0.9659 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/1.195, allocations: 170.6 kB / 0.9661 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/1.198, allocations: 1.84 MB / 0.9678 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/1.198, allocations: 3.094 kB / 0.9679 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/1.198, allocations: 77.11 kB / 0.9679 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/1.198, allocations: 42.34 kB / 0.968 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/1.201, allocations: 1.872 MB / 0.9698 GB, free: 5.008 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006778/1.208, allocations: 5.129 MB / 0.9748 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/1.211, allocations: 1.761 MB / 0.9765 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009719/1.212, allocations: 0.6492 MB / 0.9772 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000889/1.212, allocations: 0.8047 MB / 0.9779 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/1.214, allocations: 0.8958 MB / 0.9788 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.466e-06/1.214, allocations: 0.9688 kB / 0.9788 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.005728/1.22, allocations: 2.559 MB / 0.9813 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.22, allocations: 197.4 kB / 0.9815 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.221, allocations: 0.8352 MB / 0.9823 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/1.221, allocations: 58.67 kB / 0.9824 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/1.222, allocations: 0.6376 MB / 0.983 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/1.222, allocations: 490.7 kB / 0.9835 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/1.222, allocations: 252.8 kB / 0.9837 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.222, allocations: 357.3 kB / 0.984 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008791/1.223, allocations: 494.9 kB / 0.9845 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.224, allocations: 0.6426 MB / 0.9851 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/1.226, allocations: 1.122 MB / 0.9862 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.226, allocations: 2.812 kB / 0.9862 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003163/1.229, allocations: 1.547 MB / 0.9878 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.23, allocations: 5.375 kB / 0.9878 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.23, allocations: 2.125 kB / 0.9878 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008742/1.23, allocations: 191.5 kB / 0.9879 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.232, allocations: 342.2 kB / 0.9883 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/1.238, allocations: 7.284 MB / 0.9954 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.239, allocations: 145.5 kB / 0.9955 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/1.239, allocations: 58.92 kB / 0.9956 GB, free: 8.691 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001122/1.241, allocations: 385.6 kB / 0.9959 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/1.241, allocations: 126.9 kB / 0.9961 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/1.245, allocations: 1.846 MB / 0.9979 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.245, allocations: 16.42 kB / 0.9979 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.245, allocations: 3.906 kB / 0.9979 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/1.245, allocations: 8.297 kB / 0.9979 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006215/1.251, allocations: 3.429 MB / 1.001 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.252, allocations: 2.719 kB / 1.001 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.253, allocations: 308.8 kB / 1.002 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007371/1.254, allocations: 191.6 kB / 1.002 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/1.254, allocations: 43.94 kB / 1.002 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006293/1.26, allocations: 7.305 MB / 1.009 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.26, allocations: 192 / 1.009 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/1.264, allocations: 1.723 MB / 1.011 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.265, allocations: 400.6 kB / 1.011 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004211/1.266, allocations: 36 kB / 1.011 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.267, allocations: 99.52 kB / 1.011 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/1.268, allocations: 114.3 kB / 1.011 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/1.268, allocations: 70.48 kB / 1.011 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001017/1.269, allocations: 0.5783 MB / 1.012 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.269, allocations: 0.6875 kB / 1.012 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002318/1.271, allocations: 0.5777 MB / 1.012 GB, free: 420 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002391/1.274, allocations: 0.7335 MB / 1.013 GB, free: 220 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003722/1.277, allocations: 1.87 MB / 1.015 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.277, allocations: 2.562 kB / 1.015 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.279, allocations: 1.308 MB / 1.016 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/1.282, allocations: 0.495 MB / 1.017 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/1.289, allocations: 2.876 MB / 1.02 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.29, allocations: 1.297 MB / 1.021 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001947/1.292, allocations: 438 kB / 1.021 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/1.292, allocations: 155.1 kB / 1.021 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/1.292, allocations: 0 / 1.021 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.04789/1.34, allocations: 27.63 MB / 1.048 GB, free: 14.06 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)