Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001606/0.001606, allocations: 108 kB / 15.61 MB, free: 152 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.001983/0.001983, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.694/2.694, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 60.81 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2747, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.7232/0.998, allocations: 202.1 MB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01345/1.011, allocations: 10.17 MB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/1.014, allocations: 69.5 kB / 1.276 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003546/1.017, allocations: 2.728 MB / 1.278 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0055/1.023, allocations: 2.748 MB / 1.281 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/1.027, allocations: 1.463 MB / 1.282 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005934/1.033, allocations: 3.986 MB / 1.286 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003066/1.036, allocations: 2.152 MB / 1.288 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/1.039, allocations: 1.702 MB / 1.29 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/1.043, allocations: 2.346 MB / 1.292 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/1.043, allocations: 186.2 kB / 1.292 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/1.046, allocations: 1.496 MB / 1.294 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007475/1.047, allocations: 0.8948 MB / 1.295 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/1.048, allocations: 1.279 MB / 1.296 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004694/1.053, allocations: 3.705 MB / 1.3 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.053, allocations: 1.031 kB / 1.3 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.053, allocations: 0 / 1.3 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.995e-05/1.053, allocations: 3.469 kB / 1.3 GB, free: 4.102 MB / 0.9981 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.005514/1.059, allocations: 3.293 MB / 1.303 GB, free: 18.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.059, allocations: 9.812 kB / 1.303 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/1.06, allocations: 461.6 kB / 1.303 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/1.062, allocations: 1.56 MB / 1.305 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/1.063, allocations: 140.9 kB / 1.305 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/1.063, allocations: 129.1 kB / 1.305 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/1.065, allocations: 1.512 MB / 1.307 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/1.065, allocations: 5.812 kB / 1.307 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.065, allocations: 52.59 kB / 1.307 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/1.065, allocations: 44.72 kB / 1.307 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/1.067, allocations: 1.255 MB / 1.308 GB, free: 17.38 MB / 1.014 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.008155/1.076, allocations: 6.565 MB / 1.314 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/1.078, allocations: 1.194 MB / 1.315 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/1.079, allocations: 0.6823 MB / 1.316 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004213/1.079, allocations: 294.5 kB / 1.316 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/1.08, allocations: 0.6767 MB / 1.317 GB, free: 14.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=114): time 3.948e-06/1.08, allocations: 0.7188 kB / 1.317 GB, free: 14.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=114): time 0.004961/1.085, allocations: 2.377 MB / 1.319 GB, free: 13.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/1.085, allocations: 70.17 kB / 1.319 GB, free: 13.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004075/1.089, allocations: 4.016 MB / 1.323 GB, free: 13.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/1.09, allocations: 51.77 kB / 1.323 GB, free: 13.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000891/1.09, allocations: 1.281 MB / 1.325 GB, free: 13.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/1.091, allocations: 374.5 kB / 1.325 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/1.091, allocations: 216.7 kB / 1.325 GB, free: 12.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.091, allocations: 356.6 kB / 1.326 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/1.092, allocations: 0.4955 MB / 1.326 GB, free: 12.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.093, allocations: 0.752 MB / 1.327 GB, free: 12.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/1.095, allocations: 1.259 MB / 1.328 GB, free: 12.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.095, allocations: 6.188 kB / 1.328 GB, free: 12.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002989/1.098, allocations: 1.777 MB / 1.33 GB, free: 11.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.098, allocations: 8.828 kB / 1.33 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.098, allocations: 10 kB / 1.33 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/1.099, allocations: 223.2 kB / 1.33 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/1.099, allocations: 241.2 kB / 1.33 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/1.104, allocations: 4.622 MB / 1.335 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.105, allocations: 138.7 kB / 1.335 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.105, allocations: 48.33 kB / 1.335 GB, free: 7.938 MB / 1.014 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.001415/1.106, allocations: 0.8105 MB / 1.336 GB, free: 7.613 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/1.107, allocations: 278.7 kB / 1.336 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/1.11, allocations: 1.657 MB / 1.338 GB, free: 6.824 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.11, allocations: 11.31 kB / 1.338 GB, free: 6.824 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.11, allocations: 1.969 kB / 1.338 GB, free: 6.824 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002283/1.112, allocations: 1.433 MB / 1.339 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005821/1.118, allocations: 3.616 MB / 1.343 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.118, allocations: 1.812 kB / 1.343 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/1.119, allocations: 167.1 kB / 1.343 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/1.119, allocations: 213.7 kB / 1.343 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/1.119, allocations: 33.19 kB / 1.343 GB, free: 4.535 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/1.124, allocations: 4.647 MB / 1.347 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.124, allocations: 3.156 kB / 1.347 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/1.128, allocations: 2.341 MB / 1.35 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.129, allocations: 437.6 kB / 1.35 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/1.129, allocations: 29.92 kB / 1.35 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/1.13, allocations: 58.66 kB / 1.35 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/1.131, allocations: 96.94 kB / 1.35 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-05/1.131, allocations: 44.14 kB / 1.35 GB, free: 15.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003865/1.134, allocations: 2.917 MB / 1.353 GB, free: 14.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.135, allocations: 0 / 1.353 GB, free: 14.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002113/1.137, allocations: 0.5115 MB / 1.354 GB, free: 14.29 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,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.001509/1.138, allocations: 0.5991 MB / 1.354 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003962/1.142, allocations: 1.826 MB / 1.356 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.142, allocations: 3.938 kB / 1.356 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/1.144, allocations: 0.9254 MB / 1.357 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/1.147, allocations: 0.6044 MB / 1.358 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009659/1.157, allocations: 5.738 MB / 1.363 GB, free: 9.398 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/1.159, allocations: 1.919 MB / 1.365 GB, free: 8.121 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001427/1.16, allocations: 330.7 kB / 1.365 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/1.161, allocations: 112.6 kB / 1.366 GB, free: 7.953 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/1.161, allocations: 0 / 1.366 GB, free: 7.953 MB / 1.029 GB Notification: Performance of Templates: time 0.04901/1.21, allocations: 25.73 MB / 1.391 GB, free: 15.72 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)