Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008096/0.0008097, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008641/0.0008641, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6617/0.6617, allocations: 132.4 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 8 kB / 0.5034 GB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3279, allocations: 81.58 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.1689/0.4968, allocations: 183.9 MB / 0.7626 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.5093, allocations: 9.572 MB / 0.772 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.511, allocations: 59.62 kB / 0.772 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.5138, allocations: 2.513 MB / 0.7745 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.5176, allocations: 2.316 MB / 0.7768 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.5202, allocations: 1.091 MB / 0.7778 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004157/0.5244, allocations: 4.144 MB / 0.7819 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.5264, allocations: 1.556 MB / 0.7834 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.5285, allocations: 1.397 MB / 0.7848 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.5308, allocations: 1.994 MB / 0.7867 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.531, allocations: 68 kB / 0.7868 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.5328, allocations: 0.8302 MB / 0.7876 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.5334, allocations: 0.7826 MB / 0.7883 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.5338, allocations: 0.4961 MB / 0.7888 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.5359, allocations: 2.701 MB / 0.7915 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.5359, allocations: 0 / 0.7915 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5359, allocations: 0 / 0.7915 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.5359, allocations: 0 / 0.7915 GB, free: 10.66 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00341/0.5393, allocations: 2.865 MB / 0.7943 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.5394, allocations: 12.03 kB / 0.7943 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.5407, allocations: 455.7 kB / 0.7947 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.5424, allocations: 1.435 MB / 0.7961 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.5425, allocations: 152.1 kB / 0.7963 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.5427, allocations: 128 kB / 0.7964 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.5449, allocations: 1.511 MB / 0.7979 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.5449, allocations: 0 / 0.7979 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.545, allocations: 55.98 kB / 0.7979 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.5451, allocations: 42.44 kB / 0.798 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.547, allocations: 1.259 MB / 0.7992 GB, free: 2.574 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.006717/0.5537, allocations: 6.571 MB / 0.8056 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.5556, allocations: 1.226 MB / 0.8068 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009723/0.5565, allocations: 0.6871 MB / 0.8075 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003599/0.5569, allocations: 296.3 kB / 0.8077 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.5579, allocations: 0.6765 MB / 0.8084 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 2.194e-06/0.5579, allocations: 0 / 0.8084 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004096/0.562, allocations: 2.394 MB / 0.8107 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.5621, allocations: 68.39 kB / 0.8108 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.5656, allocations: 4.022 MB / 0.8147 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.5657, allocations: 49.7 kB / 0.8148 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008925/0.5666, allocations: 1.283 MB / 0.816 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.5668, allocations: 374.7 kB / 0.8164 GB, free: 340 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.5669, allocations: 24 kB / 0.8164 GB, free: 316 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.2292/0.7961, allocations: 355 kB / 0.8168 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.7974, allocations: 0.5045 MB / 0.8173 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009806/0.7984, allocations: 0.7579 MB / 0.818 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009278/0.7994, allocations: 0.6159 MB / 0.8186 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.7994, allocations: 2.281 kB / 0.8186 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00282/0.8022, allocations: 1.796 MB / 0.8203 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.8022, allocations: 7.188 kB / 0.8204 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.8023, allocations: 9.656 kB / 0.8204 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.8028, allocations: 216.1 kB / 0.8206 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/0.8036, allocations: 254.2 kB / 0.8208 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.8069, allocations: 4.234 MB / 0.8249 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009888/0.8079, allocations: 201.2 kB / 0.8251 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/0.808, allocations: 50.41 kB / 0.8252 GB, free: 213.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001049/0.8091, allocations: 0.8147 MB / 0.826 GB, free: 213 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.8093, allocations: 272.7 kB / 0.8262 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.8118, allocations: 1.661 MB / 0.8279 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.8118, allocations: 10.31 kB / 0.8279 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8118, allocations: 3.531 kB / 0.8279 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001915/0.8138, allocations: 1.444 MB / 0.8293 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004686/0.8185, allocations: 3.629 MB / 0.8328 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.8185, allocations: 2.094 kB / 0.8328 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.8191, allocations: 178.4 kB / 0.833 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.8195, allocations: 210 kB / 0.8332 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.8196, allocations: 30.03 kB / 0.8332 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.8225, allocations: 4.226 MB / 0.8374 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8225, allocations: 1.406 kB / 0.8374 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.8255, allocations: 2.396 MB / 0.8397 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.826, allocations: 452 kB / 0.8401 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.8262, allocations: 28.75 kB / 0.8402 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.8269, allocations: 110.6 kB / 0.8403 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.8271, allocations: 97.59 kB / 0.8404 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/0.8272, allocations: 45.28 kB / 0.8404 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002715/0.8299, allocations: 2.916 MB / 0.8433 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8299, allocations: 3.438 kB / 0.8433 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001413/0.8314, allocations: 0.5163 MB / 0.8438 GB, free: 203.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/0.8325, allocations: 0.6012 MB / 0.8443 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.8346, allocations: 1.547 MB / 0.8459 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8346, allocations: 0 / 0.8459 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.8357, allocations: 0.9321 MB / 0.8468 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.8377, allocations: 0.5593 MB / 0.8473 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.8432, allocations: 6.441 MB / 0.8536 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009806/0.8442, allocations: 1.926 MB / 0.8555 GB, free: 195.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008582/0.845, allocations: 319 kB / 0.8558 GB, free: 195 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.8453, allocations: 115.4 kB / 0.8559 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.8453, allocations: 0 / 0.8559 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.0284/0.8737, allocations: 23.53 MB / 0.8789 GB, free: 171.7 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)