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.001763/0.001764, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002387/0.002387, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9502/0.9502, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.47 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1964, allocations: 80.92 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.5405/0.737, allocations: 202.1 MB / 0.7817 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.7538, allocations: 10.16 MB / 0.7916 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.7568, allocations: 67.62 kB / 0.7917 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003532/0.7604, allocations: 2.719 MB / 0.7944 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005666/0.7661, allocations: 2.748 MB / 0.797 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.7699, allocations: 1.462 MB / 0.7985 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006917/0.7769, allocations: 3.972 MB / 0.8023 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004016/0.7809, allocations: 2.157 MB / 0.8044 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.7853, allocations: 1.694 MB / 0.8061 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004105/0.7895, allocations: 2.339 MB / 0.8084 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.7899, allocations: 188 kB / 0.8086 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.7937, allocations: 1.493 MB / 0.81 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008442/0.7946, allocations: 0.8861 MB / 0.8109 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.796, allocations: 1.281 MB / 0.8121 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004791/0.8008, allocations: 3.703 MB / 0.8158 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8008, allocations: 0 / 0.8158 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8008, allocations: 0 / 0.8158 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.485e-05/0.8009, allocations: 4 kB / 0.8158 GB, free: 15.79 MB / 0.6387 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.004886/0.8058, allocations: 3.298 MB / 0.819 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.8058, allocations: 12.03 kB / 0.819 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.8074, allocations: 455.7 kB / 0.8194 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.8094, allocations: 1.549 MB / 0.8209 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.8096, allocations: 140.1 kB / 0.8211 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.8098, allocations: 135.9 kB / 0.8212 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.8122, allocations: 1.519 MB / 0.8227 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.8123, allocations: 0 / 0.8227 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.8124, allocations: 52 kB / 0.8227 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.8124, allocations: 46.44 kB / 0.8228 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.8145, allocations: 1.255 MB / 0.824 GB, free: 7.156 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.008117/0.8227, allocations: 6.555 MB / 0.8304 GB, free: 176 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.8248, allocations: 1.202 MB / 0.8316 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.8259, allocations: 0.6708 MB / 0.8322 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.8264, allocations: 300.3 kB / 0.8325 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.8276, allocations: 0.6725 MB / 0.8332 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=114): time 3.267e-06/0.8276, allocations: 0 / 0.8332 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114): time 0.005138/0.8327, allocations: 2.375 MB / 0.8355 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.8328, allocations: 64.41 kB / 0.8356 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005068/0.8379, allocations: 4.03 MB / 0.8395 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.838, allocations: 57.64 kB / 0.8396 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.8392, allocations: 1.279 MB / 0.8408 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004213/0.8397, allocations: 374.7 kB / 0.8412 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003807/0.8401, allocations: 214.9 kB / 0.8414 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8402, allocations: 357.9 kB / 0.8417 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009992/0.8412, allocations: 0.4984 MB / 0.8422 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.8424, allocations: 0.7439 MB / 0.8429 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.8444, allocations: 1.262 MB / 0.8442 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.8444, allocations: 0 / 0.8442 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003397/0.8478, allocations: 1.772 MB / 0.8459 GB, free: 15.94 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.8479, allocations: 10.19 kB / 0.8459 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.8479, allocations: 8 kB / 0.8459 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/0.8485, allocations: 224.4 kB / 0.8461 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/0.8495, allocations: 243.6 kB / 0.8463 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/0.854, allocations: 4.615 MB / 0.8509 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.8553, allocations: 133.2 kB / 0.851 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.8554, allocations: 55.92 kB / 0.851 GB, free: 10.39 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.00154/0.857, allocations: 0.8136 MB / 0.8518 GB, free: 9.574 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006042/0.8576, allocations: 268.5 kB / 0.8521 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.861, allocations: 1.655 MB / 0.8537 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.8611, allocations: 12 kB / 0.8537 GB, free: 7.613 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.8611, allocations: 7.938 kB / 0.8537 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002556/0.8636, allocations: 1.432 MB / 0.8551 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007524/0.8712, allocations: 3.602 MB / 0.8586 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.8712, allocations: 0 / 0.8586 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/0.872, allocations: 175.9 kB / 0.8588 GB, free: 2.262 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/0.8725, allocations: 205.6 kB / 0.859 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.792e-05/0.8726, allocations: 31.97 kB / 0.859 GB, free: 2.023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3692/1.242, allocations: 4.644 MB / 0.8636 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.242, allocations: 3.25 kB / 0.8636 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/1.245, allocations: 2.38 MB / 0.8659 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006538/1.246, allocations: 438.9 kB / 0.8663 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/1.246, allocations: 31.47 kB / 0.8663 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007553/1.247, allocations: 47.36 kB / 0.8664 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.247, allocations: 103.4 kB / 0.8665 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/1.247, allocations: 47.59 kB / 0.8665 GB, free: 217.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002737/1.25, allocations: 2.916 MB / 0.8694 GB, free: 216.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/1.25, allocations: 0 / 0.8694 GB, free: 216.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00155/1.252, allocations: 0.514 MB / 0.8699 GB, free: 216.2 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.001386/1.253, allocations: 0.598 MB / 0.8705 GB, free: 216.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003559/1.257, allocations: 1.829 MB / 0.8722 GB, free: 215.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.257, allocations: 0 / 0.8722 GB, free: 215.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.258, allocations: 0.9195 MB / 0.8731 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/1.261, allocations: 0.5945 MB / 0.8737 GB, free: 214.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007331/1.268, allocations: 5.74 MB / 0.8793 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/1.269, allocations: 1.92 MB / 0.8812 GB, free: 211.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001128/1.27, allocations: 314.5 kB / 0.8815 GB, free: 211.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/1.271, allocations: 120.5 kB / 0.8816 GB, free: 211.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/1.271, allocations: 0 / 0.8816 GB, free: 211.6 MB / 0.67 GB Notification: Performance of Templates: time 0.05431/1.325, allocations: 25.77 MB / 0.9068 GB, free: 208.6 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)