Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 292.3 MB / 308.1 MB, free: 4.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 180.5 kB / 376.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205 MB / 0.6353 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 100.2 kB / 0.748 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 55.92 kB / 0.8703 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2187, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.5607/0.7794, allocations: 199.8 MB / 1.177 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.7964, allocations: 10.03 MB / 1.187 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003434/0.7999, allocations: 58.34 kB / 1.187 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003797/0.8038, allocations: 2.63 MB / 1.19 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005929/0.8098, allocations: 2.621 MB / 1.192 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00417/0.8139, allocations: 1.259 MB / 1.194 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005998/0.82, allocations: 4.872 MB / 1.198 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.8228, allocations: 1.901 MB / 1.2 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.8263, allocations: 1.509 MB / 1.202 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003948/0.8302, allocations: 2.318 MB / 1.204 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003019/0.8305, allocations: 98.06 kB / 1.204 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.834, allocations: 1.614 MB / 1.206 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0008548/0.8348, allocations: 0.8404 MB / 1.206 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.8362, allocations: 1.19 MB / 1.208 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004977/0.8412, allocations: 3.695 MB / 1.211 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.8412, allocations: 1.281 kB / 1.211 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8412, allocations: 0 / 1.211 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.437e-05/0.8413, allocations: 0 / 1.211 GB, free: 5.488 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.00621/0.8475, allocations: 3.287 MB / 1.214 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8476, allocations: 10.28 kB / 1.214 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.8492, allocations: 458.5 kB / 1.215 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.852, allocations: 1.539 MB / 1.216 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.8522, allocations: 134 kB / 1.216 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.8524, allocations: 136 kB / 1.217 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/0.8556, allocations: 1.511 MB / 1.218 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.8557, allocations: 5.766 kB / 1.218 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.8558, allocations: 48.53 kB / 1.218 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/0.8559, allocations: 47.66 kB / 1.218 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.8584, allocations: 1.254 MB / 1.219 GB, free: 1.047 MB / 0.7917 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.01085/0.8692, allocations: 6.499 MB / 1.226 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.8716, allocations: 1.205 MB / 1.227 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.8728, allocations: 0.6735 MB / 1.228 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/0.8733, allocations: 301.3 kB / 1.228 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.8746, allocations: 0.6678 MB / 1.229 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=114): time 3.627e-06/0.8746, allocations: 0 / 1.229 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=114): time 0.005792/0.8804, allocations: 2.375 MB / 1.231 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.8805, allocations: 65.33 kB / 1.231 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00786/0.8884, allocations: 4.017 MB / 1.235 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.8885, allocations: 53.28 kB / 1.235 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.8899, allocations: 1.275 MB / 1.236 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/0.8903, allocations: 381.2 kB / 1.236 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.8907, allocations: 214.8 kB / 1.237 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8909, allocations: 363.6 kB / 1.237 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.892, allocations: 0.4922 MB / 1.238 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.8932, allocations: 0.7612 MB / 1.238 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.8953, allocations: 1.261 MB / 1.24 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.8953, allocations: 0 / 1.24 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003397/0.8987, allocations: 1.766 MB / 1.241 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.8987, allocations: 7.406 kB / 1.241 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.8987, allocations: 6.281 kB / 1.241 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/0.8994, allocations: 226 kB / 1.241 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008576/0.9002, allocations: 241.1 kB / 1.242 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.9046, allocations: 4.204 MB / 1.246 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.9063, allocations: 185.8 kB / 1.246 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.9064, allocations: 46.59 kB / 1.246 GB, free: 1.762 MB / 0.8073 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,$PRE.mean.y,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.001619/0.908, allocations: 0.8115 MB / 1.247 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006205/0.9087, allocations: 273 kB / 1.247 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.912, allocations: 1.651 MB / 1.249 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.912, allocations: 12.25 kB / 1.249 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.9121, allocations: 10.88 kB / 1.249 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002316/0.9144, allocations: 1.437 MB / 1.25 GB, free: 15.48 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007582/0.922, allocations: 3.595 MB / 1.254 GB, free: 12.47 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.922, allocations: 0 / 1.254 GB, free: 12.47 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007596/0.9228, allocations: 179.2 kB / 1.254 GB, free: 12.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005168/0.9233, allocations: 210.8 kB / 1.254 GB, free: 12.15 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.9234, allocations: 33.44 kB / 1.254 GB, free: 12.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.9276, allocations: 4.22 MB / 1.258 GB, free: 7.66 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.9276, allocations: 4.031 kB / 1.258 GB, free: 7.656 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02753/0.9552, allocations: 16.57 MB / 1.274 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.9563, allocations: 429.4 kB / 1.275 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/0.9568, allocations: 31.98 kB / 1.275 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.958, allocations: 103.8 kB / 1.275 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.9583, allocations: 92.86 kB / 1.275 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.9584, allocations: 39.98 kB / 1.275 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004352/0.9628, allocations: 2.92 MB / 1.278 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9628, allocations: 0 / 1.278 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003198/0.966, allocations: 0.7333 MB / 1.279 GB, free: 2.223 MB / 0.8386 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) * 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.001529/0.9675, allocations: 0.597 MB / 1.279 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003096/0.9706, allocations: 1.529 MB / 1.281 GB, free: 228 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9707, allocations: 4 kB / 1.281 GB, free: 224 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.9723, allocations: 0.933 MB / 1.282 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.9755, allocations: 0.5591 MB / 1.282 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.9875, allocations: 7.524 MB / 1.289 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.9901, allocations: 1.953 MB / 1.291 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001451/0.9916, allocations: 338.7 kB / 1.292 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.9921, allocations: 115.4 kB / 1.292 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.9921, allocations: 0 / 1.292 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of Templates: time 0.0543/1.046, allocations: 28.19 MB / 1.319 GB, free: 8.645 MB / 0.8855 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)