Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 106.4 kB / 15.99 MB, free: 5.887 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.001123/0.001123, allocations: 193.7 kB / 16.91 MB, free: 5.746 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 60.78 kB / 0.5055 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1744, allocations: 80.93 MB / 0.5845 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain): time 0.5403/0.7147, allocations: 199.5 MB / 0.7793 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.7313, allocations: 10.06 MB / 0.7892 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.7346, allocations: 59.62 kB / 0.7892 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.7386, allocations: 2.638 MB / 0.7918 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006279/0.7449, allocations: 2.62 MB / 0.7944 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.7491, allocations: 1.334 MB / 0.7957 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005801/0.755, allocations: 3.981 MB / 0.7996 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003117/0.7581, allocations: 2.136 MB / 0.8016 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.7619, allocations: 1.741 MB / 0.8033 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.7656, allocations: 2.448 MB / 0.8057 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004106/0.766, allocations: 184 kB / 0.8059 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.7692, allocations: 1.555 MB / 0.8074 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009234/0.7702, allocations: 0.9212 MB / 0.8083 GB, free: 8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.7716, allocations: 1.285 MB / 0.8096 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003458/0.775, allocations: 2.877 MB / 0.8124 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.775, allocations: 0 / 0.8124 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.775, allocations: 0 / 0.8124 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.754e-05/0.7751, allocations: 0 / 0.8124 GB, free: 3.824 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004973/0.7801, allocations: 3.302 MB / 0.8156 GB, free: 472 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7801, allocations: 12.03 kB / 0.8156 GB, free: 460 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.7818, allocations: 451.7 kB / 0.8161 GB, free: 4 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.784, allocations: 1.561 MB / 0.8176 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.7842, allocations: 136.1 kB / 0.8177 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.7844, allocations: 128 kB / 0.8178 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.787, allocations: 1.519 MB / 0.8193 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.7871, allocations: 4 kB / 0.8193 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.7872, allocations: 55.94 kB / 0.8194 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.497e-05/0.7873, allocations: 42.44 kB / 0.8194 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.7898, allocations: 1.255 MB / 0.8206 GB, free: 11.18 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.008806/0.7986, allocations: 6.52 MB / 0.827 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.8008, allocations: 1.186 MB / 0.8282 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.8019, allocations: 0.6725 MB / 0.8288 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004407/0.8024, allocations: 292.3 kB / 0.8291 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.8036, allocations: 0.6735 MB / 0.8298 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=113): time 3.397e-06/0.8036, allocations: 3.938 kB / 0.8298 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of matching and sorting (n=113): time 0.005004/0.8086, allocations: 2.355 MB / 0.8321 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.8087, allocations: 72.33 kB / 0.8321 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004492/0.8132, allocations: 4.039 MB / 0.8361 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.8134, allocations: 53.7 kB / 0.8361 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.8146, allocations: 1.295 MB / 0.8374 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004031/0.815, allocations: 366.8 kB / 0.8377 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.8154, allocations: 214.9 kB / 0.8379 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8155, allocations: 361.9 kB / 0.8383 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009627/0.8165, allocations: 0.4944 MB / 0.8388 GB, free: 8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.8177, allocations: 0.7422 MB / 0.8395 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.8198, allocations: 1.255 MB / 0.8407 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.8198, allocations: 3.938 kB / 0.8407 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003336/0.8232, allocations: 1.772 MB / 0.8425 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.8232, allocations: 11.98 kB / 0.8425 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.8232, allocations: 7.938 kB / 0.8425 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/0.8238, allocations: 225.8 kB / 0.8427 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009132/0.8248, allocations: 247.6 kB / 0.8429 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.8297, allocations: 4.605 MB / 0.8474 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.8313, allocations: 190.7 kB / 0.8476 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.8314, allocations: 44 kB / 0.8477 GB, free: 14.44 MB / 0.67 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.001254/0.8326, allocations: 0.8136 MB / 0.8484 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.833, allocations: 276.4 kB / 0.8487 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.836, allocations: 1.636 MB / 0.8503 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.836, allocations: 15.94 kB / 0.8503 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.836, allocations: 7.938 kB / 0.8503 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002459/0.8385, allocations: 1.42 MB / 0.8517 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006288/0.8448, allocations: 3.587 MB / 0.8552 GB, free: 6.508 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.8448, allocations: 3.938 kB / 0.8552 GB, free: 6.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.8456, allocations: 171.8 kB / 0.8554 GB, free: 6.336 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/0.8462, allocations: 209.7 kB / 0.8556 GB, free: 6.125 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.8463, allocations: 31.97 kB / 0.8556 GB, free: 6.094 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/0.8511, allocations: 4.62 MB / 0.8601 GB, free: 1.203 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.8511, allocations: 7.969 kB / 0.8601 GB, free: 1.195 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.271/1.122, allocations: 2.36 MB / 0.8624 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009052/1.123, allocations: 437.2 kB / 0.8629 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/1.124, allocations: 32.27 kB / 0.8629 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.125, allocations: 97.48 kB / 0.863 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.125, allocations: 95.44 kB / 0.8631 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/1.125, allocations: 40.97 kB / 0.8631 GB, free: 218.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002612/1.127, allocations: 2.931 MB / 0.866 GB, free: 218.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/1.128, allocations: 3.25 kB / 0.866 GB, free: 218.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001557/1.129, allocations: 0.5164 MB / 0.8665 GB, free: 218.1 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 (95): * Single equations (assignments): 81 * 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.001361/1.13, allocations: 0.6065 MB / 0.8671 GB, free: 218 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003272/1.134, allocations: 1.818 MB / 0.8688 GB, free: 217.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.134, allocations: 4.438 kB / 0.8689 GB, free: 217.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/1.135, allocations: 0.9172 MB / 0.8697 GB, free: 216.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.138, allocations: 0.6013 MB / 0.8703 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/1.145, allocations: 6.672 MB / 0.8769 GB, free: 213.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/1.146, allocations: 1.894 MB / 0.8787 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/1.146, allocations: 123.8 kB / 0.8788 GB, free: 212.8 MB / 0.67 GB Notification: Performance of SimCode: time 5.92e-07/1.146, allocations: 7.469 kB / 0.8788 GB, free: 212.8 MB / 0.67 GB Notification: Performance of Templates: time 0.06663/1.213, allocations: 50.15 MB / 0.9278 GB, free: 195.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1)