Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001153/0.001153, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7079/0.7079, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.98 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1337, allocations: 76.19 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5056/0.6394, allocations: 162.6 MB / 0.7908 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03017/0.6696, allocations: 27.13 MB / 0.8173 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/0.6732, allocations: 73.34 kB / 0.8174 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003156/0.6765, allocations: 1.072 MB / 0.8185 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007294/0.6838, allocations: 1.859 MB / 0.8203 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004688/0.6885, allocations: 1.789 MB / 0.822 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006989/0.6955, allocations: 5.553 MB / 0.8274 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005266/0.7008, allocations: 4.336 MB / 0.8317 GB, free: 100 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.7045, allocations: 2.214 MB / 0.8338 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.7086, allocations: 2.63 MB / 0.8364 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001296/0.7099, allocations: 482.9 kB / 0.8369 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.7129, allocations: 1.083 MB / 0.8379 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.7144, allocations: 1.227 MB / 0.8391 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003389/0.7178, allocations: 2.243 MB / 0.8413 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008086/0.726, allocations: 6.266 MB / 0.8474 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.726, allocations: 0 / 0.8474 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.726, allocations: 0 / 0.8474 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001586/0.7262, allocations: 0 / 0.8474 GB, free: 5.086 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01112/0.7373, allocations: 4.829 MB / 0.8521 GB, free: 188 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7374, allocations: 8.031 kB / 0.8522 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.7514, allocations: 2.788 MB / 0.8549 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005021/0.7564, allocations: 2.395 MB / 0.8572 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.7567, allocations: 254.7 kB / 0.8575 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008795/0.7576, allocations: 324 kB / 0.8578 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.7709, allocations: 5.342 MB / 0.863 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.771, allocations: 0 / 0.863 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00071/0.7718, allocations: 140 kB / 0.8631 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/0.7718, allocations: 83.94 kB / 0.8632 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.7882, allocations: 6.472 MB / 0.8695 GB, free: 14.27 MB / 0.6387 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.03106/0.8193, allocations: 15.67 MB / 0.8848 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.8315, allocations: 4.862 MB / 0.8896 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005541/0.8371, allocations: 2.583 MB / 0.8921 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000988/0.8381, allocations: 0.6765 MB / 0.8928 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006198/0.8443, allocations: 2.713 MB / 0.8954 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=291): time 5.139e-06/0.8443, allocations: 0 / 0.8954 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=291): time 0.022/0.8663, allocations: 8.007 MB / 0.9032 GB, free: 10.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.8665, allocations: 218.2 kB / 0.9034 GB, free: 10.64 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/0.8705, allocations: 2.524 MB / 0.9059 GB, free: 8.098 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006062/0.8711, allocations: 81.7 kB / 0.906 GB, free: 8.012 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.8725, allocations: 1.391 MB / 0.9073 GB, free: 6.605 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.8738, allocations: 0.9509 MB / 0.9083 GB, free: 5.664 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.8753, allocations: 0.5169 MB / 0.9088 GB, free: 5.141 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.8754, allocations: 301.1 kB / 0.9091 GB, free: 4.844 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005356/0.8807, allocations: 2.109 MB / 0.9111 GB, free: 2.73 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005667/0.8864, allocations: 2.424 MB / 0.9135 GB, free: 240 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.8977, allocations: 4.448 MB / 0.9178 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.8977, allocations: 0 / 0.9178 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0137/0.9114, allocations: 5.261 MB / 0.923 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.9115, allocations: 6.031 kB / 0.923 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.9115, allocations: 4 kB / 0.923 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008941/0.9124, allocations: 352.7 kB / 0.9233 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004442/0.9169, allocations: 0.8151 MB / 0.9241 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005936/0.9228, allocations: 4.226 MB / 0.9282 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004328/0.9272, allocations: 0.5635 MB / 0.9288 GB, free: 304 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007655/0.928, allocations: 123.9 kB / 0.9289 GB, free: 180 kB / 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 (306): * Single equations (assignments): 305 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002865/0.9309, allocations: 0.9759 MB / 0.9298 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/0.9321, allocations: 288.4 kB / 0.9301 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/0.9478, allocations: 5.899 MB / 0.9359 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.9478, allocations: 32 kB / 0.9359 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.9478, allocations: 8 kB / 0.9359 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.426e-05/0.9479, allocations: 23.86 kB / 0.9359 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006168/0.9541, allocations: 3.863 MB / 0.9397 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.9541, allocations: 0 / 0.9397 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004128/0.9582, allocations: 0.7489 MB / 0.9404 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.9594, allocations: 386.9 kB / 0.9408 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004805/0.9599, allocations: 87.91 kB / 0.9409 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006796/0.9667, allocations: 6.3 MB / 0.9471 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9667, allocations: 0 / 0.9471 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02015/0.9869, allocations: 8.417 MB / 0.9553 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002661/0.9896, allocations: 0.8637 MB / 0.9561 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/0.9908, allocations: 67.83 kB / 0.9562 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003999/0.9948, allocations: 419.4 kB / 0.9566 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007535/0.9956, allocations: 218 kB / 0.9568 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005242/0.9961, allocations: 115.9 kB / 0.9569 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003426/0.9996, allocations: 1.834 MB / 0.9587 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.81e-07/0.9996, allocations: 0 / 0.9587 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004997/1.005, allocations: 1.13 MB / 0.9598 GB, free: 52 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003326/1.008, allocations: 1.062 MB / 0.9608 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.021, allocations: 5.144 MB / 0.9659 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.021, allocations: 4.188 kB / 0.9659 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007044/1.029, allocations: 2.911 MB / 0.9687 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004139/1.033, allocations: 0.7358 MB / 0.9694 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.049, allocations: 8.261 MB / 0.9775 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002487/1.052, allocations: 2.534 MB / 0.98 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004075/1.056, allocations: 1.159 MB / 0.9811 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.057, allocations: 283.2 kB / 0.9814 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/1.057, allocations: 0 / 0.9814 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of Templates: time 0.08755/1.145, allocations: 52.54 MB / 1.033 GB, free: 6.059 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)