Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7567/0.7567, allocations: 132.2 MB / 149 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 403.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001267, allocations: 113 kB / 484.4 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1682, allocations: 80.21 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5186/0.6868, allocations: 158.4 MB / 0.7949 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0336/0.7204, allocations: 26.61 MB / 0.8209 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/0.7244, allocations: 67.62 kB / 0.8209 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.7271, allocations: 0.9023 MB / 0.8218 GB, free: 8.941 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005297/0.7324, allocations: 1.517 MB / 0.8233 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004589/0.7371, allocations: 1.5 MB / 0.8247 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006256/0.7433, allocations: 5.1 MB / 0.8297 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005073/0.7484, allocations: 3.823 MB / 0.8335 GB, free: 12.94 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.7509, allocations: 1.677 MB / 0.8351 GB, free: 11.26 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.754, allocations: 2.292 MB / 0.8373 GB, free: 8.957 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005908/0.7546, allocations: 240 kB / 0.8376 GB, free: 8.723 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.7567, allocations: 0.835 MB / 0.8384 GB, free: 7.887 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009013/0.7577, allocations: 0.9497 MB / 0.8393 GB, free: 6.934 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.7599, allocations: 1.799 MB / 0.8411 GB, free: 5.125 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.006674/0.7666, allocations: 5.511 MB / 0.8464 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.7666, allocations: 4 kB / 0.8465 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7666, allocations: 4 kB / 0.8465 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001512/0.7668, allocations: 0 / 0.8465 GB, free: 15.59 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01063/0.7774, allocations: 4.478 MB / 0.8508 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.7775, allocations: 8.031 kB / 0.8508 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.7907, allocations: 2.772 MB / 0.8535 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.7958, allocations: 2.264 MB / 0.8558 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.7961, allocations: 242.5 kB / 0.856 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007466/0.7968, allocations: 323.9 kB / 0.8563 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.8082, allocations: 5.134 MB / 0.8613 GB, free: 144 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/0.8083, allocations: 4 kB / 0.8613 GB, free: 140 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000337/0.8086, allocations: 136 kB / 0.8614 GB, free: 4 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-05/0.8087, allocations: 83.92 kB / 0.8615 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.8234, allocations: 6.288 MB / 0.8677 GB, free: 9.621 MB / 0.6042 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.02597/0.8494, allocations: 14.51 MB / 0.8818 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009936/0.8594, allocations: 4.51 MB / 0.8862 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005249/0.8647, allocations: 2.458 MB / 0.8886 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009293/0.8656, allocations: 0.6696 MB / 0.8893 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006777/0.8724, allocations: 2.462 MB / 0.8917 GB, free: 292 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=270): time 6.923e-06/0.8725, allocations: 0 / 0.8917 GB, free: 292 kB / 0.6198 GB Notification: Performance of matching and sorting (n=270): time 0.01976/0.8922, allocations: 7.543 MB / 0.8991 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.8924, allocations: 210 kB / 0.8993 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/0.8959, allocations: 2.397 MB / 0.9016 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0005565/0.8965, allocations: 73.64 kB / 0.9017 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.8978, allocations: 1.349 MB / 0.903 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.8991, allocations: 0.8971 MB / 0.9039 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000993/0.9001, allocations: 0.4927 MB / 0.9044 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.9002, allocations: 305.1 kB / 0.9046 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004732/0.905, allocations: 1.964 MB / 0.9066 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005328/0.9103, allocations: 2.275 MB / 0.9088 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.9206, allocations: 4.224 MB / 0.9129 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/0.9207, allocations: 4 kB / 0.9129 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01213/0.9328, allocations: 4.952 MB / 0.9177 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.9329, allocations: 12.02 kB / 0.9178 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.9329, allocations: 4.078 kB / 0.9178 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008449/0.9337, allocations: 348.6 kB / 0.9181 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/0.9376, allocations: 0.7878 MB / 0.9189 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005127/0.9427, allocations: 3.907 MB / 0.9227 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/0.9466, allocations: 0.544 MB / 0.9232 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004694/0.9471, allocations: 115.8 kB / 0.9233 GB, free: 15.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * 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.001918/0.949, allocations: 0.9188 MB / 0.9242 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006269/0.9496, allocations: 280.5 kB / 0.9245 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.9626, allocations: 5.543 MB / 0.9299 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.9627, allocations: 28 kB / 0.9299 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.9627, allocations: 4 kB / 0.9299 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-05/0.9628, allocations: 15.95 kB / 0.9299 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/0.9822, allocations: 9.296 MB / 0.939 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.9822, allocations: 0 / 0.939 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003775/0.986, allocations: 0.7332 MB / 0.9397 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.9872, allocations: 378.3 kB / 0.9401 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004429/0.9876, allocations: 71.94 kB / 0.9402 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006456/0.9941, allocations: 5.796 MB / 0.9458 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9941, allocations: 0 / 0.9458 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6409/1.635, allocations: 125.4 MB / 1.068 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/1.637, allocations: 0.8015 MB / 1.069 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005656/1.638, allocations: 59.92 kB / 1.069 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/1.641, allocations: 412.4 kB / 1.07 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004067/1.642, allocations: 174 kB / 1.07 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/1.642, allocations: 103.1 kB / 1.07 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002052/1.644, allocations: 1.741 MB / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.5e-07/1.644, allocations: 0 / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005263/1.649, allocations: 1.588 MB / 1.073 GB, free: 155 MB / 0.6823 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002534/1.652, allocations: 1.078 MB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.662, allocations: 4.793 MB / 1.079 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.662, allocations: 128 / 1.079 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00541/1.667, allocations: 2.761 MB / 1.081 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/1.671, allocations: 0.6352 MB / 1.082 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.689, allocations: 11.65 MB / 1.093 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/1.691, allocations: 2.536 MB / 1.096 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006249/1.698, allocations: 1.407 MB / 1.097 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00247/1.7, allocations: 323.1 kB / 1.098 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/1.7, allocations: 0 / 1.098 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.1129/1.813, allocations: 94.87 MB / 1.19 GB, free: 35.47 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)