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.0009882/0.0009882, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007621/0.007621, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 7.281 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2879, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.7635/1.051, allocations: 197.2 MB / 1.267 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01567/1.067, allocations: 10.13 MB / 1.277 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/1.07, allocations: 62.56 kB / 1.277 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004523/1.075, allocations: 2.613 MB / 1.279 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006381/1.081, allocations: 2.625 MB / 1.282 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004141/1.086, allocations: 1.311 MB / 1.283 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008175/1.094, allocations: 4.888 MB / 1.288 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003622/1.097, allocations: 1.827 MB / 1.29 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004965/1.102, allocations: 1.415 MB / 1.291 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004568/1.107, allocations: 2.26 MB / 1.293 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005613/1.108, allocations: 67.47 kB / 1.293 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004248/1.112, allocations: 1.58 MB / 1.295 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/1.113, allocations: 0.791 MB / 1.296 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002945/1.116, allocations: 1.156 MB / 1.297 GB, free: 21.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006033/1.122, allocations: 3.632 MB / 1.3 GB, free: 20.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.122, allocations: 0 / 1.3 GB, free: 20.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.285e-06/1.122, allocations: 0 / 1.3 GB, free: 20.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.896e-05/1.122, allocations: 1.094 kB / 1.3 GB, free: 20.95 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.005306/1.127, allocations: 2.844 MB / 1.303 GB, free: 19.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.127, allocations: 9.062 kB / 1.303 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/1.129, allocations: 460.9 kB / 1.303 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/1.131, allocations: 1.554 MB / 1.305 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/1.132, allocations: 143.7 kB / 1.305 GB, free: 18.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/1.132, allocations: 130.1 kB / 1.305 GB, free: 18.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/1.135, allocations: 1.524 MB / 1.307 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/1.135, allocations: 3.906 kB / 1.307 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/1.135, allocations: 53.09 kB / 1.307 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/1.135, allocations: 45.91 kB / 1.307 GB, free: 18.35 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/1.137, allocations: 1.273 MB / 1.308 GB, free: 18.33 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.009611/1.147, allocations: 6.58 MB / 1.314 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/1.149, allocations: 1.227 MB / 1.316 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/1.15, allocations: 0.6894 MB / 1.316 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/1.151, allocations: 297.6 kB / 1.317 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/1.152, allocations: 0.6874 MB / 1.317 GB, free: 15.08 MB / 1.014 GB Notification: Performance of pre-optimization done (n=114): time 3.546e-06/1.152, allocations: 0 / 1.317 GB, free: 15.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=114): time 0.005211/1.157, allocations: 2.42 MB / 1.32 GB, free: 14.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/1.157, allocations: 69.72 kB / 1.32 GB, free: 14.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005085/1.163, allocations: 4.017 MB / 1.324 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/1.163, allocations: 53.64 kB / 1.324 GB, free: 14.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/1.164, allocations: 1.279 MB / 1.325 GB, free: 14.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004467/1.164, allocations: 373.9 kB / 1.325 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/1.164, allocations: 106.3 kB / 1.325 GB, free: 13.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.165, allocations: 353.5 kB / 1.326 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/1.166, allocations: 0.513 MB / 1.326 GB, free: 13.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/1.167, allocations: 0.7725 MB / 1.327 GB, free: 13.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/1.169, allocations: 1.285 MB / 1.328 GB, free: 12.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/1.169, allocations: 7.5 kB / 1.328 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003847/1.173, allocations: 1.813 MB / 1.33 GB, free: 12.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.173, allocations: 8.031 kB / 1.33 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.173, allocations: 6.094 kB / 1.33 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/1.173, allocations: 220.5 kB / 1.33 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/1.174, allocations: 258.6 kB / 1.331 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/1.178, allocations: 4.209 MB / 1.335 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.18, allocations: 206 kB / 1.335 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.686e-05/1.18, allocations: 47.83 kB / 1.335 GB, free: 9.898 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.001558/1.182, allocations: 0.8109 MB / 1.336 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/1.182, allocations: 274.3 kB / 1.336 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/1.185, allocations: 1.669 MB / 1.338 GB, free: 9.496 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.185, allocations: 11.53 kB / 1.338 GB, free: 9.496 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.185, allocations: 3 kB / 1.338 GB, free: 9.496 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002494/1.188, allocations: 1.461 MB / 1.339 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/1.195, allocations: 3.648 MB / 1.343 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/1.195, allocations: 2.938 kB / 1.343 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/1.196, allocations: 174.2 kB / 1.343 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/1.196, allocations: 204.5 kB / 1.343 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/1.197, allocations: 32.02 kB / 1.343 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/1.201, allocations: 4.226 MB / 1.347 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.201, allocations: 9.531 kB / 1.347 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/1.205, allocations: 2.367 MB / 1.349 GB, free: 3.016 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.206, allocations: 447.2 kB / 1.35 GB, free: 2.664 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/1.206, allocations: 39.48 kB / 1.35 GB, free: 2.637 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/1.207, allocations: 110.1 kB / 1.35 GB, free: 2.586 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/1.208, allocations: 93.33 kB / 1.35 GB, free: 2.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/1.208, allocations: 38.02 kB / 1.35 GB, free: 2.527 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004114/1.212, allocations: 2.926 MB / 1.353 GB, free: 1.234 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.31e-07/1.212, allocations: 0 / 1.353 GB, free: 1.234 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002734/1.214, allocations: 0.5099 MB / 1.353 GB, free: 1.129 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.001764/1.216, allocations: 0.6118 MB / 1.354 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003042/1.219, allocations: 1.559 MB / 1.356 GB, free: 16 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.219, allocations: 0 / 1.356 GB, free: 16 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/1.221, allocations: 0.9367 MB / 1.356 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/1.225, allocations: 0.5741 MB / 1.357 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009762/1.235, allocations: 6.685 MB / 1.364 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/1.237, allocations: 1.913 MB / 1.365 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001428/1.238, allocations: 331.2 kB / 1.366 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/1.239, allocations: 113.3 kB / 1.366 GB, free: 9.812 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/1.239, allocations: 0 / 1.366 GB, free: 9.812 MB / 1.029 GB Notification: Performance of Templates: time 0.04803/1.287, allocations: 24.07 MB / 1.389 GB, free: 5.102 MB / 1.045 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)