Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.000913/0.000913, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007498/0.007498, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.609/1.609, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9252/0.9252, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003473, allocations: 8 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1577, allocations: 82.31 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.5105/0.6683, allocations: 197.1 MB / 0.7805 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.6865, allocations: 10.11 MB / 0.7903 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/0.6899, allocations: 55.62 kB / 0.7904 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003679/0.6936, allocations: 2.619 MB / 0.793 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005532/0.6992, allocations: 2.621 MB / 0.7955 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.7027, allocations: 1.321 MB / 0.7968 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005447/0.7081, allocations: 4.888 MB / 0.8016 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.7106, allocations: 1.819 MB / 0.8034 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.7137, allocations: 1.414 MB / 0.8047 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003336/0.717, allocations: 2.24 MB / 0.8069 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.7173, allocations: 72 kB / 0.807 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003241/0.7206, allocations: 1.578 MB / 0.8085 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007472/0.7213, allocations: 0.7885 MB / 0.8093 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.7226, allocations: 1.154 MB / 0.8104 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00468/0.7273, allocations: 3.635 MB / 0.814 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7273, allocations: 0 / 0.814 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7273, allocations: 0 / 0.814 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.165e-05/0.7273, allocations: 0 / 0.814 GB, free: 4.879 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.004405/0.7318, allocations: 2.836 MB / 0.8167 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.7318, allocations: 8.031 kB / 0.8168 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.7334, allocations: 463.7 kB / 0.8172 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.7355, allocations: 1.549 MB / 0.8187 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.7357, allocations: 148.1 kB / 0.8189 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.736, allocations: 127.9 kB / 0.819 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.7386, allocations: 1.527 MB / 0.8205 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.7386, allocations: 0 / 0.8205 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.7388, allocations: 52 kB / 0.8205 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.165e-05/0.7388, allocations: 46.44 kB / 0.8206 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.7412, allocations: 1.278 MB / 0.8218 GB, free: 12.67 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.009086/0.7503, allocations: 6.571 MB / 0.8282 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.7525, allocations: 1.23 MB / 0.8294 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.7537, allocations: 0.6786 MB / 0.8301 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004529/0.7541, allocations: 300.2 kB / 0.8304 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.7554, allocations: 0.6884 MB / 0.831 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.957e-06/0.7554, allocations: 0 / 0.831 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.005432/0.7608, allocations: 2.414 MB / 0.8334 GB, free: 236 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.7609, allocations: 68.34 kB / 0.8335 GB, free: 156 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/0.7657, allocations: 4.023 MB / 0.8374 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.766, allocations: 57.69 kB / 0.8375 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.7671, allocations: 1.279 MB / 0.8387 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/0.7675, allocations: 374.7 kB / 0.8391 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.7677, allocations: 105.7 kB / 0.8392 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7678, allocations: 357.9 kB / 0.8395 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.7689, allocations: 0.514 MB / 0.84 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.7701, allocations: 0.7673 MB / 0.8408 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.7722, allocations: 1.289 MB / 0.842 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.7723, allocations: 0 / 0.842 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003704/0.776, allocations: 1.81 MB / 0.8438 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.776, allocations: 10.5 kB / 0.8438 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.776, allocations: 8 kB / 0.8438 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.7767, allocations: 220.8 kB / 0.844 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/0.7776, allocations: 255.6 kB / 0.8442 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004428/0.782, allocations: 4.2 MB / 0.8484 GB, free: 416 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.7835, allocations: 190.9 kB / 0.8485 GB, free: 224 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/0.7836, allocations: 52 kB / 0.8486 GB, free: 172 kB / 0.6544 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 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.ventRate.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,ventRate.nextTimeEventScaled,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001211/0.7848, allocations: 0.8058 MB / 0.8494 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.7851, allocations: 276.5 kB / 0.8496 GB, free: 15.08 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.788, allocations: 1.679 MB / 0.8513 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7881, allocations: 12 kB / 0.8513 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7881, allocations: 0 / 0.8513 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002318/0.7904, allocations: 1.455 MB / 0.8527 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.7963, allocations: 3.629 MB / 0.8562 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7963, allocations: 160 / 0.8562 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007901/0.7971, allocations: 175.8 kB / 0.8564 GB, free: 7.969 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.7976, allocations: 209.5 kB / 0.8566 GB, free: 7.758 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/0.7977, allocations: 31.98 kB / 0.8566 GB, free: 7.727 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004246/0.802, allocations: 4.227 MB / 0.8608 GB, free: 3.238 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.802, allocations: 0 / 0.8608 GB, free: 3.238 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/0.806, allocations: 2.417 MB / 0.8631 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007684/0.8067, allocations: 453.2 kB / 0.8636 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.807, allocations: 28 kB / 0.8636 GB, free: 292 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/0.8078, allocations: 104.6 kB / 0.8637 GB, free: 188 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.8081, allocations: 100.8 kB / 0.8638 GB, free: 88 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/0.8082, allocations: 51.97 kB / 0.8638 GB, free: 36 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.3303/1.138, allocations: 2.911 MB / 0.8667 GB, free: 215.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.91e-07/1.138, allocations: 0 / 0.8667 GB, free: 215.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002061/1.141, allocations: 0.52 MB / 0.8672 GB, free: 215.7 MB / 0.67 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/1.142, allocations: 0.601 MB / 0.8678 GB, free: 215.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002586/1.144, allocations: 1.56 MB / 0.8693 GB, free: 215.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.144, allocations: 0 / 0.8693 GB, free: 215.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.146, allocations: 0.9363 MB / 0.8702 GB, free: 215.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/1.149, allocations: 0.5593 MB / 0.8708 GB, free: 215.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007423/1.157, allocations: 6.676 MB / 0.8773 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/1.158, allocations: 1.925 MB / 0.8792 GB, free: 211.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001158/1.159, allocations: 321.7 kB / 0.8795 GB, free: 211.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/1.159, allocations: 116.8 kB / 0.8796 GB, free: 211.7 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/1.159, allocations: 3.938 kB / 0.8796 GB, free: 211.7 MB / 0.67 GB Notification: Performance of Templates: time 0.06009/1.22, allocations: 24.1 MB / 0.9031 GB, free: 209.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)