Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008319/0.000832, allocations: 97.56 kB / 15.36 MB, free: 0.7305 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.000837/0.000837, allocations: 174.2 kB / 16.27 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.359 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: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 7.156 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2696, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.7585/1.028, allocations: 197.2 MB / 1.267 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0134/1.042, allocations: 10.13 MB / 1.277 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/1.044, allocations: 63.06 kB / 1.277 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003781/1.048, allocations: 2.613 MB / 1.279 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005565/1.054, allocations: 2.622 MB / 1.282 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003871/1.057, allocations: 1.323 MB / 1.283 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008388/1.066, allocations: 4.878 MB / 1.288 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004102/1.07, allocations: 1.837 MB / 1.29 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/1.074, allocations: 1.409 MB / 1.291 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/1.077, allocations: 2.254 MB / 1.293 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002265/1.077, allocations: 67.28 kB / 1.293 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/1.081, allocations: 1.583 MB / 1.295 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007846/1.082, allocations: 0.7902 MB / 1.296 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00145/1.083, allocations: 1.153 MB / 1.297 GB, free: 21.38 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004069/1.087, allocations: 3.631 MB / 1.3 GB, free: 21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.087, allocations: 3.5 kB / 1.3 GB, free: 21 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/1.087, allocations: 0.9375 kB / 1.3 GB, free: 21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.308e-05/1.087, allocations: 7.938 kB / 1.3 GB, free: 20.99 MB / 1.014 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.004242/1.091, allocations: 2.84 MB / 1.303 GB, free: 19.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/1.091, allocations: 8.719 kB / 1.303 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/1.093, allocations: 461.4 kB / 1.303 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/1.095, allocations: 1.552 MB / 1.305 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/1.095, allocations: 146.9 kB / 1.305 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/1.096, allocations: 130.7 kB / 1.305 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/1.098, allocations: 1.522 MB / 1.307 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/1.098, allocations: 4.906 kB / 1.307 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/1.098, allocations: 55.61 kB / 1.307 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/1.098, allocations: 42.94 kB / 1.307 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/1.101, allocations: 1.277 MB / 1.308 GB, free: 18.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.008223/1.109, allocations: 6.581 MB / 1.314 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/1.111, allocations: 1.225 MB / 1.316 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/1.112, allocations: 0.687 MB / 1.316 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004224/1.113, allocations: 298.4 kB / 1.317 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/1.114, allocations: 0.687 MB / 1.317 GB, free: 15.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=114): time 3.417e-06/1.114, allocations: 0 / 1.317 GB, free: 15.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=114): time 0.004952/1.119, allocations: 2.424 MB / 1.32 GB, free: 14.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/1.119, allocations: 65 kB / 1.32 GB, free: 14.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/1.123, allocations: 4.02 MB / 1.324 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/1.123, allocations: 50.48 kB / 1.324 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008977/1.124, allocations: 1.282 MB / 1.325 GB, free: 14.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/1.124, allocations: 372.8 kB / 1.325 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/1.124, allocations: 108.4 kB / 1.325 GB, free: 13.83 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.124, allocations: 353.1 kB / 1.326 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009558/1.125, allocations: 0.5119 MB / 1.326 GB, free: 13.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/1.127, allocations: 0.7709 MB / 1.327 GB, free: 13.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/1.128, allocations: 1.288 MB / 1.328 GB, free: 13.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/1.128, allocations: 2.625 kB / 1.328 GB, free: 13.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003021/1.131, allocations: 1.819 MB / 1.33 GB, free: 12.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.132, allocations: 9.469 kB / 1.33 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.132, allocations: 6.344 kB / 1.33 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/1.132, allocations: 212.3 kB / 1.33 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/1.133, allocations: 258 kB / 1.331 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004079/1.137, allocations: 4.213 MB / 1.335 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.139, allocations: 205.2 kB / 1.335 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/1.139, allocations: 49.41 kB / 1.335 GB, free: 9.945 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.001224/1.14, allocations: 0.8148 MB / 1.336 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/1.14, allocations: 269.7 kB / 1.336 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/1.143, allocations: 1.666 MB / 1.338 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/1.143, allocations: 13.22 kB / 1.338 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.143, allocations: 9.188 kB / 1.338 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002237/1.145, allocations: 1.454 MB / 1.339 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00613/1.151, allocations: 3.649 MB / 1.343 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.151, allocations: 0 / 1.343 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/1.152, allocations: 170.2 kB / 1.343 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005237/1.153, allocations: 209.9 kB / 1.343 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/1.153, allocations: 32.42 kB / 1.343 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004607/1.157, allocations: 4.226 MB / 1.347 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/1.157, allocations: 6.844 kB / 1.347 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/1.161, allocations: 2.368 MB / 1.349 GB, free: 3.043 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007475/1.162, allocations: 449.7 kB / 1.35 GB, free: 2.691 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/1.162, allocations: 36.17 kB / 1.35 GB, free: 2.664 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000957/1.163, allocations: 110.6 kB / 1.35 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/1.164, allocations: 96.89 kB / 1.35 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/1.164, allocations: 44.56 kB / 1.35 GB, free: 2.547 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003384/1.167, allocations: 2.917 MB / 1.353 GB, free: 1.262 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.167, allocations: 0 / 1.353 GB, free: 1.262 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001716/1.169, allocations: 0.5114 MB / 1.353 GB, free: 1.156 MB / 1.014 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.001452/1.17, allocations: 0.625 MB / 1.354 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002682/1.173, allocations: 1.557 MB / 1.356 GB, free: 32 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.173, allocations: 0 / 1.356 GB, free: 32 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.175, allocations: 0.9376 MB / 1.356 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.178, allocations: 0.5583 MB / 1.357 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00897/1.187, allocations: 6.685 MB / 1.364 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.189, allocations: 1.914 MB / 1.365 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001346/1.19, allocations: 321.4 kB / 1.366 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/1.19, allocations: 115.2 kB / 1.366 GB, free: 9.844 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/1.19, allocations: 4 kB / 1.366 GB, free: 9.84 MB / 1.029 GB Notification: Performance of Templates: time 0.04475/1.235, allocations: 24.08 MB / 1.389 GB, free: 5.152 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)