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.00116/0.00116, allocations: 103.5 kB / 16.52 MB, free: 6.656 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.001142/0.001143, allocations: 198.5 kB / 17.44 MB, free: 6.047 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7304/0.7304, allocations: 115.3 MB / 406.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 493.6 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3529, allocations: 76.17 MB / 0.5564 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1572/0.5101, allocations: 160.2 MB / 0.7129 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0327/0.5429, allocations: 26.94 MB / 0.7392 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.546, allocations: 67.62 kB / 0.7392 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.5487, allocations: 0.9488 MB / 0.7402 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004947/0.5537, allocations: 1.68 MB / 0.7418 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.5577, allocations: 1.577 MB / 0.7433 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.321/0.8787, allocations: 5.734 MB / 0.7489 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006166/0.8849, allocations: 3.871 MB / 0.7527 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.8889, allocations: 1.797 MB / 0.7545 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005191/0.8942, allocations: 2.454 MB / 0.7569 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001291/0.8955, allocations: 252.6 kB / 0.7571 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.8986, allocations: 0.8517 MB / 0.7579 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.9001, allocations: 0.982 MB / 0.7589 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003369/0.9035, allocations: 1.978 MB / 0.7608 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.9095, allocations: 4.824 MB / 0.7655 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.9096, allocations: 4.406 kB / 0.7655 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9096, allocations: 0 / 0.7655 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001832/0.9098, allocations: 0 / 0.7655 GB, free: 2.527 MB / 0.5762 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.01341/0.9232, allocations: 4.814 MB / 0.7702 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9232, allocations: 13 kB / 0.7703 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/0.9382, allocations: 2.788 MB / 0.773 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005724/0.9439, allocations: 2.378 MB / 0.7753 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.9441, allocations: 255.4 kB / 0.7755 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009139/0.945, allocations: 321.1 kB / 0.7759 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.9569, allocations: 5.337 MB / 0.7811 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.441e-05/0.957, allocations: 0 / 0.7811 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/0.9574, allocations: 141.8 kB / 0.7812 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/0.9574, allocations: 81.78 kB / 0.7813 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.9719, allocations: 6.478 MB / 0.7876 GB, free: 15.31 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.02975/1.002, allocations: 15.77 MB / 0.803 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/1.012, allocations: 4.877 MB / 0.8078 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005008/1.017, allocations: 2.578 MB / 0.8103 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/1.018, allocations: 0.6731 MB / 0.8109 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005727/1.024, allocations: 2.711 MB / 0.8136 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=291): time 5.209e-06/1.024, allocations: 3.938 kB / 0.8136 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of matching and sorting (n=291): time 0.01948/1.044, allocations: 8.006 MB / 0.8214 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/1.044, allocations: 226.1 kB / 0.8216 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004862/1.049, allocations: 2.513 MB / 0.8241 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004875/1.049, allocations: 81.27 kB / 0.8242 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001441/1.051, allocations: 1.399 MB / 0.8255 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00128/1.052, allocations: 0.9534 MB / 0.8265 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001459/1.053, allocations: 0.5169 MB / 0.827 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.054, allocations: 305.1 kB / 0.8273 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005018/1.059, allocations: 2.108 MB / 0.8293 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005464/1.064, allocations: 2.418 MB / 0.8317 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.075, allocations: 4.448 MB / 0.836 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/1.075, allocations: 0 / 0.836 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01435/1.089, allocations: 5.256 MB / 0.8411 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/1.089, allocations: 4 kB / 0.8412 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/1.089, allocations: 4 kB / 0.8412 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009376/1.09, allocations: 352.8 kB / 0.8415 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00463/1.095, allocations: 0.8169 MB / 0.8423 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/1.1, allocations: 3.877 MB / 0.8461 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004861/1.105, allocations: 0.5907 MB / 0.8467 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008642/1.106, allocations: 118.9 kB / 0.8468 GB, free: 5.75 MB / 0.6231 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.003302/1.109, allocations: 0.9874 MB / 0.8477 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.111, allocations: 285.6 kB / 0.848 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/1.127, allocations: 5.915 MB / 0.8538 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.127, allocations: 28 kB / 0.8538 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/1.127, allocations: 11.94 kB / 0.8538 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.761e-05/1.127, allocations: 15.94 kB / 0.8538 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007332/1.134, allocations: 3.842 MB / 0.8576 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/1.134, allocations: 3.938 kB / 0.8576 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00401/1.138, allocations: 0.7475 MB / 0.8583 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/1.14, allocations: 384.2 kB / 0.8587 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004373/1.14, allocations: 91.91 kB / 0.8588 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006405/1.147, allocations: 5.799 MB / 0.8644 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.147, allocations: 0 / 0.8644 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02051/1.167, allocations: 8.419 MB / 0.8727 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002728/1.17, allocations: 0.8599 MB / 0.8735 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/1.171, allocations: 71.84 kB / 0.8736 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004332/1.176, allocations: 452.8 kB / 0.874 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007593/1.176, allocations: 217.9 kB / 0.8742 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005642/1.177, allocations: 107.9 kB / 0.8743 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003692/1.181, allocations: 1.833 MB / 0.8761 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/1.181, allocations: 0 / 0.8761 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004589/1.185, allocations: 1.126 MB / 0.8772 GB, free: 6.23 MB / 0.6544 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.003105/1.188, allocations: 1.05 MB / 0.8782 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.201, allocations: 5.123 MB / 0.8832 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.201, allocations: 0 / 0.8832 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007054/1.208, allocations: 2.922 MB / 0.8861 GB, free: 13.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00499/1.213, allocations: 0.6741 MB / 0.8867 GB, free: 12.94 MB / 0.67 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/1.233, allocations: 9.834 MB / 0.8963 GB, free: 3.082 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003003/1.236, allocations: 2.454 MB / 0.8987 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002419/1.238, allocations: 327.2 kB / 0.899 GB, free: 288 kB / 0.67 GB Notification: Performance of SimCode: time 8.02e-07/1.238, allocations: 0 / 0.899 GB, free: 288 kB / 0.67 GB Notification: Performance of Templates: time 0.1226/1.361, allocations: 87.91 MB / 0.9849 GB, free: 8.629 MB / 0.7637 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)