Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 109.4 kB / 16.41 MB, free: 6.457 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.0009888/0.0009888, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.401/2.401, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.773, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1599/0.9329, allocations: 162.6 MB / 1.367 GB, free: 10.4 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03316/0.9661, allocations: 27.13 MB / 1.394 GB, free: 15.18 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/0.9698, allocations: 75.62 kB / 1.394 GB, free: 15.11 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.9724, allocations: 1.08 MB / 1.395 GB, free: 14.02 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004747/0.9771, allocations: 1.861 MB / 1.396 GB, free: 12.16 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.9812, allocations: 1.782 MB / 1.398 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006557/0.9878, allocations: 5.546 MB / 1.404 GB, free: 4.824 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005614/0.9934, allocations: 4.344 MB / 1.408 GB, free: 412 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/0.9971, allocations: 2.171 MB / 1.41 GB, free: 14.22 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/1.001, allocations: 2.637 MB / 1.413 GB, free: 11.58 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/1.003, allocations: 488 kB / 1.413 GB, free: 11.1 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/1.006, allocations: 1.085 MB / 1.414 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001733/1.008, allocations: 1.227 MB / 1.415 GB, free: 8.789 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003998/1.012, allocations: 2.232 MB / 1.417 GB, free: 6.547 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.008879/1.02, allocations: 6.268 MB / 1.424 GB, free: 268 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.02, allocations: 0 / 1.424 GB, free: 268 kB / 1.139 GB Notification: Performance of FrontEnd: time 2.826e-06/1.02, allocations: 0 / 1.424 GB, free: 268 kB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003867/1.021, allocations: 0 / 1.424 GB, free: 268 kB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01957/1.04, allocations: 4.812 MB / 1.428 GB, free: 11.36 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.041, allocations: 8.031 kB / 1.428 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/1.054, allocations: 2.792 MB / 1.431 GB, free: 8.555 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005931/1.06, allocations: 2.402 MB / 1.433 GB, free: 6.078 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/1.06, allocations: 254.7 kB / 1.434 GB, free: 5.828 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/1.062, allocations: 324 kB / 1.434 GB, free: 5.512 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/1.075, allocations: 5.338 MB / 1.439 GB, free: 100 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-05/1.075, allocations: 0 / 1.439 GB, free: 100 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007785/1.076, allocations: 132.1 kB / 1.439 GB, free: 15.96 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.117e-05/1.076, allocations: 87.94 kB / 1.439 GB, free: 15.88 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/1.092, allocations: 6.472 MB / 1.446 GB, free: 9.395 MB / 1.17 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.02882/1.121, allocations: 15.67 MB / 1.461 GB, free: 9.02 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/1.132, allocations: 4.879 MB / 1.466 GB, free: 4.141 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005552/1.138, allocations: 2.572 MB / 1.468 GB, free: 1.559 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009654/1.139, allocations: 0.6658 MB / 1.469 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006112/1.145, allocations: 2.726 MB / 1.472 GB, free: 13.99 MB / 1.201 GB Notification: Performance of pre-optimization done (n=291): time 5.54e-06/1.145, allocations: 0 / 1.472 GB, free: 13.99 MB / 1.201 GB Notification: Performance of matching and sorting (n=291): time 0.02016/1.165, allocations: 8.009 MB / 1.479 GB, free: 5.867 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.165, allocations: 218.1 kB / 1.48 GB, free: 5.609 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/1.169, allocations: 2.52 MB / 1.482 GB, free: 3.066 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003489/1.17, allocations: 85.69 kB / 1.482 GB, free: 2.977 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.171, allocations: 1.392 MB / 1.483 GB, free: 1.57 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009993/1.172, allocations: 0.955 MB / 1.484 GB, free: 0.6016 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/1.173, allocations: 0.5208 MB / 1.485 GB, free: 76 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.173, allocations: 301.1 kB / 1.485 GB, free: 15.78 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004878/1.178, allocations: 2.101 MB / 1.487 GB, free: 13.67 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005119/1.183, allocations: 2.428 MB / 1.49 GB, free: 11.17 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009874/1.193, allocations: 4.439 MB / 1.494 GB, free: 6.648 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/1.193, allocations: 4 kB / 1.494 GB, free: 6.645 MB / 1.217 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01202/1.205, allocations: 5.257 MB / 1.499 GB, free: 1.34 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.205, allocations: 8 kB / 1.499 GB, free: 1.332 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.205, allocations: 4 kB / 1.499 GB, free: 1.328 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008632/1.206, allocations: 353.3 kB / 1.499 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003939/1.21, allocations: 0.8229 MB / 1.5 GB, free: 160 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005573/1.216, allocations: 4.223 MB / 1.504 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/1.219, allocations: 0.5518 MB / 1.505 GB, free: 11.24 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/1.22, allocations: 119.9 kB / 1.505 GB, free: 11.12 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (306): * Single equations (assignments): 305 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002/1.222, allocations: 0.9851 MB / 1.506 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008398/1.223, allocations: 284.4 kB / 1.506 GB, free: 9.844 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/1.237, allocations: 5.908 MB / 1.512 GB, free: 3.879 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/1.237, allocations: 11.95 kB / 1.512 GB, free: 3.867 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.237, allocations: 3.984 kB / 1.512 GB, free: 3.863 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.238, allocations: 0.8636 MB / 1.513 GB, free: 2.977 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006573/1.239, allocations: 75.83 kB / 1.513 GB, free: 2.902 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003326/1.242, allocations: 419.4 kB / 1.513 GB, free: 2.492 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/1.243, allocations: 222.1 kB / 1.514 GB, free: 2.273 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01455/1.257, allocations: 5.699 MB / 1.519 GB, free: 12.52 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.017/1.274, allocations: 8.293 MB / 1.527 GB, free: 4.152 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00493/1.279, allocations: 2.451 MB / 1.53 GB, free: 1.688 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002941/1.282, allocations: 1.838 MB / 1.531 GB, free: 15.84 MB / 1.264 GB Notification: Performance of Backend: time 4.41e-07/1.282, allocations: 0 / 1.531 GB, free: 15.84 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.293, allocations: 4.262 MB / 1.536 GB, free: 11.98 MB / 1.264 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.01264/1.306, allocations: 7.181 MB / 1.543 GB, free: 4.777 MB / 1.264 GB Notification: Performance of Templates: time 0.6379/1.944, allocations: 61.25 MB / 1.602 GB, free: 321.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)