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=20160,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20160,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.001559/0.001559, allocations: 106.7 kB / 16.41 MB, free: 6.516 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.00152/0.00152, allocations: 183 kB / 17.34 MB, free: 5.734 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.529/1.529, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9254/0.9254, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.14 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1864, allocations: 80.92 MB / 0.6654 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.6369/0.8233, allocations: 202.6 MB / 0.8633 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.8411, allocations: 10.16 MB / 0.8732 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/0.8444, allocations: 67.62 kB / 0.8732 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.8488, allocations: 2.738 MB / 0.8759 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00693/0.8558, allocations: 2.814 MB / 0.8787 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004497/0.8603, allocations: 1.469 MB / 0.8801 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006777/0.867, allocations: 3.983 MB / 0.884 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.8704, allocations: 1.756 MB / 0.8857 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.8749, allocations: 1.741 MB / 0.8874 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.8791, allocations: 2.326 MB / 0.8897 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005427/0.8796, allocations: 188 kB / 0.8899 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.8833, allocations: 1.505 MB / 0.8913 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.8844, allocations: 0.9093 MB / 0.8922 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.8861, allocations: 1.277 MB / 0.8935 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006443/0.8926, allocations: 3.774 MB / 0.8972 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.8926, allocations: 0 / 0.8972 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8926, allocations: 3.938 kB / 0.8972 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.878e-05/0.8927, allocations: 0 / 0.8972 GB, free: 1.75 MB / 0.6544 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.006213/0.8989, allocations: 3.41 MB / 0.9005 GB, free: 14.27 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.8989, allocations: 13.11 kB / 0.9005 GB, free: 14.26 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.9007, allocations: 473.6 kB / 0.9009 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.9034, allocations: 1.614 MB / 0.9025 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.9036, allocations: 140.1 kB / 0.9027 GB, free: 11.97 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.9038, allocations: 132 kB / 0.9028 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.9067, allocations: 1.515 MB / 0.9043 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.9068, allocations: 0 / 0.9043 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.9069, allocations: 55.98 kB / 0.9043 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.454e-05/0.9069, allocations: 46.42 kB / 0.9044 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.9094, allocations: 1.247 MB / 0.9056 GB, free: 8.926 MB / 0.67 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.01015/0.9195, allocations: 6.534 MB / 0.912 GB, free: 1.961 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.9219, allocations: 1.141 MB / 0.9131 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.9231, allocations: 0.6161 MB / 0.9137 GB, free: 188 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005141/0.9236, allocations: 300.3 kB / 0.914 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.925, allocations: 0.6765 MB / 0.9146 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.206e-06/0.925, allocations: 7.938 kB / 0.9146 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.005662/0.9306, allocations: 2.372 MB / 0.9169 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.9307, allocations: 68.41 kB / 0.917 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005101/0.9358, allocations: 4.026 MB / 0.9209 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.936, allocations: 53.7 kB / 0.921 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.9374, allocations: 1.292 MB / 0.9223 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005639/0.938, allocations: 392.7 kB / 0.9226 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/0.9383, allocations: 211 kB / 0.9228 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.9385, allocations: 357.9 kB / 0.9232 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.9396, allocations: 0.4984 MB / 0.9237 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.9409, allocations: 0.7417 MB / 0.9244 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.9432, allocations: 1.266 MB / 0.9256 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.9432, allocations: 4 kB / 0.9256 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003653/0.9468, allocations: 1.777 MB / 0.9274 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.9468, allocations: 4 kB / 0.9274 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.9469, allocations: 8 kB / 0.9274 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006479/0.9475, allocations: 222 kB / 0.9276 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009306/0.9484, allocations: 243.6 kB / 0.9278 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.9538, allocations: 4.616 MB / 0.9323 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.9552, allocations: 141.7 kB / 0.9325 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.9553, allocations: 55.86 kB / 0.9325 GB, free: 12.26 MB / 0.7012 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.001383/0.9567, allocations: 0.8071 MB / 0.9333 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.9572, allocations: 286.1 kB / 0.9336 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.9604, allocations: 1.648 MB / 0.9352 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.9604, allocations: 12 kB / 0.9352 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.9604, allocations: 11.94 kB / 0.9352 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002592/0.963, allocations: 1.424 MB / 0.9366 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006503/0.9695, allocations: 3.594 MB / 0.9401 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9695, allocations: 7.938 kB / 0.9401 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007929/0.9703, allocations: 171.9 kB / 0.9403 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005332/0.9708, allocations: 208.1 kB / 0.9405 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/0.9709, allocations: 35.97 kB / 0.9405 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.9761, allocations: 4.649 MB / 0.9451 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9761, allocations: 3.938 kB / 0.9451 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004417/0.9805, allocations: 2.393 MB / 0.9474 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009142/0.9814, allocations: 454.8 kB / 0.9478 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.9817, allocations: 28 kB / 0.9479 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007445/0.9824, allocations: 47.95 kB / 0.9479 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.9827, allocations: 100.8 kB / 0.948 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.9827, allocations: 39.98 kB / 0.948 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003697/0.9864, allocations: 2.924 MB / 0.9509 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9864, allocations: 0 / 0.9509 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001812/0.9883, allocations: 0.5147 MB / 0.9514 GB, free: 8.418 MB / 0.7169 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.002168/0.9904, allocations: 0.6076 MB / 0.952 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003165/0.9936, allocations: 1.482 MB / 0.9534 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.9936, allocations: 0 / 0.9534 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.9952, allocations: 0.8823 MB / 0.9543 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.9981, allocations: 0.6031 MB / 0.9549 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009663/1.008, allocations: 5.847 MB / 0.9606 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/1.01, allocations: 1.897 MB / 0.9624 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/1.01, allocations: 119.4 kB / 0.9626 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/1.01, allocations: 0 / 0.9626 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of Templates: time 0.07245/1.083, allocations: 50.35 MB / 1.012 GB, free: 10.73 MB / 0.7794 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)