Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 115 kB / 17.09 MB, free: 5.988 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.0009961/0.0009961, allocations: 198.9 kB / 18.03 MB, free: 5.062 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.209/1.209, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6898/0.6898, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 71.27 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 76.19 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4141/0.5232, allocations: 161.9 MB / 0.7909 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02546/0.5487, allocations: 26.96 MB / 0.8172 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/0.5514, allocations: 67.25 kB / 0.8173 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.5534, allocations: 1.047 MB / 0.8183 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.5577, allocations: 1.792 MB / 0.82 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.5614, allocations: 1.721 MB / 0.8217 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004918/0.5663, allocations: 5.293 MB / 0.8269 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004121/0.5704, allocations: 4.176 MB / 0.831 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.5732, allocations: 2.135 MB / 0.833 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/0.5759, allocations: 2.53 MB / 0.8355 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005762/0.5765, allocations: 462.4 kB / 0.836 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.5784, allocations: 1.06 MB / 0.837 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008445/0.5793, allocations: 1.173 MB / 0.8381 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.5811, allocations: 2.126 MB / 0.8402 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005355/0.5865, allocations: 5.974 MB / 0.846 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5865, allocations: 0 / 0.846 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5865, allocations: 0 / 0.846 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.959e-05/0.5866, allocations: 0 / 0.846 GB, free: 6.73 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.00832/0.5949, allocations: 4.634 MB / 0.8506 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.5949, allocations: 15.95 kB / 0.8506 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.6081, allocations: 2.769 MB / 0.8533 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/0.612, allocations: 2.323 MB / 0.8556 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.6122, allocations: 238.4 kB / 0.8558 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005211/0.6127, allocations: 312 kB / 0.8561 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.623, allocations: 5.158 MB / 0.8611 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.623, allocations: 3.938 kB / 0.8611 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/0.6234, allocations: 132 kB / 0.8613 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/0.6235, allocations: 80 kB / 0.8613 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.6369, allocations: 6.291 MB / 0.8675 GB, free: 0.5742 MB / 0.6231 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.02184/0.6587, allocations: 14.79 MB / 0.8819 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009872/0.6686, allocations: 4.707 MB / 0.8865 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00498/0.6736, allocations: 2.448 MB / 0.8889 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008549/0.6745, allocations: 0.6716 MB / 0.8896 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005374/0.6799, allocations: 2.633 MB / 0.8921 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=278): time 4.919e-06/0.6799, allocations: 0 / 0.8921 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=278): time 0.01667/0.6966, allocations: 7.4 MB / 0.8994 GB, free: 15.14 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6967, allocations: 210.1 kB / 0.8996 GB, free: 14.89 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/0.6996, allocations: 2.442 MB / 0.9019 GB, free: 12.42 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002836/0.6999, allocations: 77.69 kB / 0.902 GB, free: 12.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.701, allocations: 1.332 MB / 0.9033 GB, free: 10.99 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007735/0.7017, allocations: 0.912 MB / 0.9042 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008804/0.7026, allocations: 0.5047 MB / 0.9047 GB, free: 9.574 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.7027, allocations: 305.1 kB / 0.905 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/0.7072, allocations: 2.027 MB / 0.907 GB, free: 7.242 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004725/0.7119, allocations: 2.344 MB / 0.9093 GB, free: 4.824 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009076/0.721, allocations: 4.269 MB / 0.9134 GB, free: 480 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.721, allocations: 8 kB / 0.9134 GB, free: 472 kB / 0.67 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01091/0.732, allocations: 4.999 MB / 0.9183 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.732, allocations: 7.938 kB / 0.9183 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.732, allocations: 4 kB / 0.9183 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/0.7326, allocations: 234.5 kB / 0.9185 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/0.7365, allocations: 0.8112 MB / 0.9193 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0039/0.7404, allocations: 3.377 MB / 0.9226 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/0.7442, allocations: 0.5557 MB / 0.9232 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.7445, allocations: 120 kB / 0.9233 GB, free: 6.18 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001752/0.7463, allocations: 0.9499 MB / 0.9242 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/0.7469, allocations: 268.6 kB / 0.9245 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/0.7592, allocations: 5.63 MB / 0.93 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/0.7593, allocations: 15.94 kB / 0.93 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.7593, allocations: 4 kB / 0.93 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.7607, allocations: 0.8287 MB / 0.9308 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004943/0.7612, allocations: 75.83 kB / 0.9309 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/0.7643, allocations: 417.1 kB / 0.9313 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004039/0.7647, allocations: 210 kB / 0.9315 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01305/0.7778, allocations: 5.387 MB / 0.9367 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01578/0.7936, allocations: 7.996 MB / 0.9445 GB, free: 244 kB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004614/0.7982, allocations: 2.352 MB / 0.9468 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002264/0.8005, allocations: 1.781 MB / 0.9486 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of Backend: time 1.673e-06/0.8005, allocations: 0 / 0.9486 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009554/0.81, allocations: 4.122 MB / 0.9526 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of SimCode: time 0.009467/0.8195, allocations: 6.762 MB / 0.9592 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of Templates: time 0.08148/0.901, allocations: 59.53 MB / 1.017 GB, free: 6.387 MB / 0.7794 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)