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.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00169/0.00169, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 279 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9349/0.9349, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 101.1 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2164, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4759/0.6924, allocations: 164.7 MB / 0.8403 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.7122, allocations: 16.98 MB / 0.8569 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.714, allocations: 26.72 kB / 0.8569 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.7155, allocations: 439.7 kB / 0.8573 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.7195, allocations: 1.368 MB / 0.8587 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.7225, allocations: 1.159 MB / 0.8598 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.7251, allocations: 2.649 MB / 0.8624 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.7272, allocations: 1.806 MB / 0.8641 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004726/0.7319, allocations: 1.152 MB / 0.8653 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.7332, allocations: 0.9241 MB / 0.8662 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.7334, allocations: 111.2 kB / 0.8663 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.7366, allocations: 1.466 MB / 0.8677 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000494/0.7371, allocations: 479.9 kB / 0.8682 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.7382, allocations: 0.899 MB / 0.869 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.7422, allocations: 2.962 MB / 0.8719 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7423, allocations: 4 kB / 0.8719 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7423, allocations: 0 / 0.8719 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.515e-05/0.7423, allocations: 0 / 0.8719 GB, free: 13.64 MB / 0.5919 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.003979/0.7463, allocations: 2.254 MB / 0.8741 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.7464, allocations: 7.75 kB / 0.8741 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.7501, allocations: 0.509 MB / 0.8746 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.7519, allocations: 1.082 MB / 0.8757 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/0.752, allocations: 130 kB / 0.8758 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.7522, allocations: 166.6 kB / 0.876 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/0.7554, allocations: 1.844 MB / 0.8778 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.7555, allocations: 0 / 0.8778 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.7556, allocations: 76.45 kB / 0.8779 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.7557, allocations: 40.22 kB / 0.8779 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00315/0.7588, allocations: 1.873 MB / 0.8797 GB, free: 8.695 MB / 0.5919 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.008268/0.7671, allocations: 5.173 MB / 0.8848 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.7702, allocations: 1.77 MB / 0.8865 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.7714, allocations: 0.6502 MB / 0.8871 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009552/0.7724, allocations: 0.8039 MB / 0.8879 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00166/0.774, allocations: 0.8957 MB / 0.8888 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.457e-06/0.774, allocations: 3.938 kB / 0.8888 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006243/0.7803, allocations: 2.552 MB / 0.8913 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7804, allocations: 197.2 kB / 0.8915 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.7815, allocations: 0.8423 MB / 0.8923 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.7817, allocations: 53.7 kB / 0.8924 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.7822, allocations: 0.6446 MB / 0.893 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/0.7826, allocations: 485 kB / 0.8934 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/0.783, allocations: 250.7 kB / 0.8937 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.7832, allocations: 357.9 kB / 0.894 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.7843, allocations: 498.3 kB / 0.8945 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.7855, allocations: 0.6384 MB / 0.8951 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.7876, allocations: 1.118 MB / 0.8962 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7877, allocations: 0 / 0.8962 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003538/0.7912, allocations: 1.558 MB / 0.8977 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.7912, allocations: 4 kB / 0.8977 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7912, allocations: 0 / 0.8977 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009453/0.7922, allocations: 188.2 kB / 0.8979 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.7938, allocations: 343.5 kB / 0.8982 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/0.7993, allocations: 6.755 MB / 0.9048 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.8009, allocations: 166.9 kB / 0.905 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.801, allocations: 63.89 kB / 0.9051 GB, free: 15.52 MB / 0.6231 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.0008362/0.8019, allocations: 376.8 kB / 0.9054 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.8022, allocations: 134.4 kB / 0.9056 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/0.8065, allocations: 1.846 MB / 0.9074 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.8065, allocations: 12 kB / 0.9074 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.8065, allocations: 4 kB / 0.9074 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.8065, allocations: 7.969 kB / 0.9074 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005963/0.8125, allocations: 3.454 MB / 0.9108 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.8125, allocations: 0 / 0.9108 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.814, allocations: 315.6 kB / 0.9111 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008429/0.8149, allocations: 196 kB / 0.9112 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.815, allocations: 39.97 kB / 0.9113 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005192/0.8202, allocations: 6.806 MB / 0.9179 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8203, allocations: 4.031 kB / 0.9179 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.8243, allocations: 1.703 MB / 0.9196 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/0.825, allocations: 403 kB / 0.92 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.8252, allocations: 31.94 kB / 0.92 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.8265, allocations: 127.8 kB / 0.9201 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.8268, allocations: 113.1 kB / 0.9202 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.8269, allocations: 71.95 kB / 0.9203 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008775/0.8278, allocations: 0.5822 MB / 0.9209 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8278, allocations: 0 / 0.9209 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001679/0.8295, allocations: 0.5766 MB / 0.9214 GB, free: 13.89 MB / 0.6387 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.001826/0.8314, allocations: 0.731 MB / 0.9222 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003415/0.8348, allocations: 1.867 MB / 0.924 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.8348, allocations: 0.5625 kB / 0.924 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.8369, allocations: 1.305 MB / 0.9252 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.8391, allocations: 469.6 kB / 0.9257 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/0.8454, allocations: 3.656 MB / 0.9293 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009463/0.8464, allocations: 1.304 MB / 0.9305 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001918/0.8483, allocations: 438.1 kB / 0.931 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.8488, allocations: 151.4 kB / 0.9311 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of SimCode: time 1.162e-06/0.8488, allocations: 0 / 0.9311 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of Templates: time 0.04133/0.8901, allocations: 25.86 MB / 0.9564 GB, free: 10.45 MB / 0.67 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)