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.001258/0.001258, allocations: 113.8 kB / 17.08 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.001352/0.001352, allocations: 196.7 kB / 18.02 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7349/0.7349, allocations: 115.3 MB / 407.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.67 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1399, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.587/0.7269, allocations: 162.6 MB / 0.7915 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02958/0.7565, allocations: 27.12 MB / 0.818 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.7601, allocations: 78.66 kB / 0.8181 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.7629, allocations: 1.07 MB / 0.8191 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005868/0.7688, allocations: 1.868 MB / 0.8209 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004722/0.7735, allocations: 1.775 MB / 0.8227 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006897/0.7805, allocations: 5.556 MB / 0.8281 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005599/0.7861, allocations: 4.339 MB / 0.8323 GB, free: 92 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.79, allocations: 2.217 MB / 0.8345 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004014/0.7941, allocations: 2.626 MB / 0.8371 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.7954, allocations: 482.5 kB / 0.8375 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.7984, allocations: 1.084 MB / 0.8386 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.7999, allocations: 1.231 MB / 0.8398 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003454/0.8034, allocations: 2.239 MB / 0.842 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008137/0.8116, allocations: 6.26 MB / 0.8481 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8116, allocations: 0 / 0.8481 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8116, allocations: 0 / 0.8481 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002044/0.8118, allocations: 0 / 0.8481 GB, free: 5.113 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.01134/0.8232, allocations: 4.826 MB / 0.8528 GB, free: 220 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.8232, allocations: 8.031 kB / 0.8528 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.8363, allocations: 2.792 MB / 0.8555 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004895/0.8412, allocations: 2.395 MB / 0.8579 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/0.8415, allocations: 254.6 kB / 0.8581 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009428/0.8424, allocations: 324 kB / 0.8584 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.8544, allocations: 5.346 MB / 0.8636 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-05/0.8545, allocations: 0 / 0.8636 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004083/0.8549, allocations: 140 kB / 0.8638 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.855, allocations: 80 kB / 0.8638 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.8691, allocations: 6.476 MB / 0.8702 GB, free: 14.29 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.0264/0.8955, allocations: 15.67 MB / 0.8855 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.9058, allocations: 4.875 MB / 0.8902 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0051/0.9109, allocations: 2.575 MB / 0.8928 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009182/0.9119, allocations: 0.674 MB / 0.8934 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005624/0.9175, allocations: 2.714 MB / 0.8961 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=291): time 4.929e-06/0.9175, allocations: 0 / 0.8961 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=291): time 0.0191/0.9366, allocations: 8.007 MB / 0.9039 GB, free: 10.93 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.9368, allocations: 210.2 kB / 0.9041 GB, free: 10.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/0.9404, allocations: 2.524 MB / 0.9065 GB, free: 8.129 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004288/0.9409, allocations: 77.7 kB / 0.9066 GB, free: 8.047 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.9421, allocations: 1.396 MB / 0.908 GB, free: 6.637 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.9431, allocations: 0.9503 MB / 0.9089 GB, free: 5.695 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.9443, allocations: 0.5208 MB / 0.9094 GB, free: 5.168 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.9443, allocations: 301.1 kB / 0.9097 GB, free: 4.871 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004672/0.949, allocations: 2.105 MB / 0.9118 GB, free: 2.762 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004958/0.954, allocations: 2.432 MB / 0.9141 GB, free: 264 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009549/0.9636, allocations: 4.444 MB / 0.9185 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.9636, allocations: 4 kB / 0.9185 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01179/0.9754, allocations: 5.257 MB / 0.9236 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.9755, allocations: 8 kB / 0.9236 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.9755, allocations: 4 kB / 0.9236 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008332/0.9763, allocations: 348.7 kB / 0.924 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/0.9803, allocations: 0.8229 MB / 0.9248 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/0.9856, allocations: 4.22 MB / 0.9289 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/0.9895, allocations: 0.5596 MB / 0.9294 GB, free: 336 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005159/0.9901, allocations: 119.9 kB / 0.9295 GB, free: 216 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.002298/0.9924, allocations: 0.9857 MB / 0.9305 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000903/0.9933, allocations: 284.4 kB / 0.9308 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.007, allocations: 5.903 MB / 0.9365 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/1.007, allocations: 28 kB / 0.9366 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/1.007, allocations: 7.984 kB / 0.9366 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/1.007, allocations: 23.77 kB / 0.9366 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005594/1.012, allocations: 3.868 MB / 0.9404 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/1.013, allocations: 0 / 0.9404 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003873/1.016, allocations: 0.7489 MB / 0.9411 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/1.018, allocations: 379 kB / 0.9415 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004112/1.018, allocations: 87.91 kB / 0.9416 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006368/1.024, allocations: 6.298 MB / 0.9477 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.024, allocations: 4 kB / 0.9477 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/1.042, allocations: 8.424 MB / 0.9559 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/1.044, allocations: 0.8598 MB / 0.9568 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000814/1.045, allocations: 75.83 kB / 0.9568 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/1.049, allocations: 417 kB / 0.9572 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/1.049, allocations: 218.1 kB / 0.9575 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003449/1.049, allocations: 111.9 kB / 0.9576 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002791/1.052, allocations: 1.834 MB / 0.9593 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/1.052, allocations: 0 / 0.9593 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003135/1.055, allocations: 1.13 MB / 0.9605 GB, free: 80 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.00261/1.058, allocations: 1.056 MB / 0.9615 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01142/1.069, allocations: 5.143 MB / 0.9665 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.069, allocations: 0 / 0.9665 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006225/1.076, allocations: 2.919 MB / 0.9694 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/1.079, allocations: 0.7341 MB / 0.9701 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.095, allocations: 8.228 MB / 0.9781 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/1.097, allocations: 2.454 MB / 0.9805 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/1.099, allocations: 331.2 kB / 0.9808 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/1.099, allocations: 0 / 0.9808 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.3699/1.469, allocations: 88.91 MB / 1.068 GB, free: 328.6 MB / 0.8106 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)