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 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.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.001169/0.001169, allocations: 119.4 kB / 16.42 MB, free: 6.48 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.001257/0.001257, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.607/2.607, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.89 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.7299, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1761/0.906, allocations: 162.6 MB / 1.385 GB, free: 10.26 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03097/0.937, allocations: 27.13 MB / 1.412 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.9401, allocations: 79.56 kB / 1.412 GB, free: 14.96 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.943, allocations: 1.084 MB / 1.413 GB, free: 13.88 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006534/0.9495, allocations: 1.876 MB / 1.415 GB, free: 11.99 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004539/0.9541, allocations: 1.79 MB / 1.416 GB, free: 10.21 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006676/0.9608, allocations: 5.546 MB / 1.422 GB, free: 4.645 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005335/0.9662, allocations: 4.336 MB / 1.426 GB, free: 244 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.9703, allocations: 2.216 MB / 1.428 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.9743, allocations: 2.631 MB / 1.431 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00165/0.976, allocations: 480 kB / 1.431 GB, free: 10.91 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.9792, allocations: 1.089 MB / 1.432 GB, free: 9.82 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00177/0.981, allocations: 1.231 MB / 1.433 GB, free: 8.586 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003679/0.9847, allocations: 2.243 MB / 1.436 GB, free: 6.332 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.008527/0.9933, allocations: 6.282 MB / 1.442 GB, free: 28 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9933, allocations: 0 / 1.442 GB, free: 28 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9933, allocations: 7.875 kB / 1.442 GB, free: 20 kB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001959/0.9935, allocations: 0 / 1.442 GB, free: 20 kB / 1.154 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.01085/1.004, allocations: 4.94 MB / 1.447 GB, free: 10.99 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.004, allocations: 8.031 kB / 1.447 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/1.017, allocations: 2.81 MB / 1.449 GB, free: 8.164 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00483/1.022, allocations: 2.424 MB / 1.452 GB, free: 5.668 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/1.023, allocations: 254.6 kB / 1.452 GB, free: 5.418 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007351/1.023, allocations: 324 kB / 1.452 GB, free: 5.102 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/1.035, allocations: 5.338 MB / 1.458 GB, free: 15.69 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-05/1.035, allocations: 0 / 1.458 GB, free: 15.69 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/1.036, allocations: 136 kB / 1.458 GB, free: 15.55 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/1.036, allocations: 83.94 kB / 1.458 GB, free: 15.47 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/1.051, allocations: 6.472 MB / 1.464 GB, free: 8.984 MB / 1.186 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.0262/1.077, allocations: 15.71 MB / 1.479 GB, free: 8.574 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/1.087, allocations: 4.864 MB / 1.484 GB, free: 3.703 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005123/1.092, allocations: 2.576 MB / 1.487 GB, free: 1.117 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009185/1.093, allocations: 0.6736 MB / 1.487 GB, free: 320 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00578/1.099, allocations: 2.706 MB / 1.49 GB, free: 13.57 MB / 1.217 GB Notification: Performance of pre-optimization done (n=291): time 5.962e-06/1.099, allocations: 0 / 1.49 GB, free: 13.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=291): time 0.01985/1.119, allocations: 8.034 MB / 1.498 GB, free: 5.418 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.119, allocations: 214.2 kB / 1.498 GB, free: 5.164 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/1.123, allocations: 2.528 MB / 1.5 GB, free: 2.613 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004671/1.123, allocations: 77.7 kB / 1.501 GB, free: 2.531 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.125, allocations: 1.415 MB / 1.502 GB, free: 1.102 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.126, allocations: 0.9954 MB / 1.503 GB, free: 100 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/1.127, allocations: 0.5209 MB / 1.503 GB, free: 15.57 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 8.22e-05/1.127, allocations: 305.1 kB / 1.504 GB, free: 15.27 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.132, allocations: 2.109 MB / 1.506 GB, free: 13.15 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005023/1.137, allocations: 2.42 MB / 1.508 GB, free: 10.66 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009912/1.147, allocations: 4.443 MB / 1.512 GB, free: 6.133 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.147, allocations: 0 / 1.512 GB, free: 6.133 MB / 1.232 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01257/1.159, allocations: 5.266 MB / 1.518 GB, free: 0.8203 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.159, allocations: 8 kB / 1.518 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.159, allocations: 7.984 kB / 1.518 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008654/1.16, allocations: 357.2 kB / 1.518 GB, free: 464 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/1.165, allocations: 0.823 MB / 1.519 GB, free: 15.63 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/1.17, allocations: 4.228 MB / 1.523 GB, free: 11.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/1.174, allocations: 0.5681 MB / 1.523 GB, free: 10.7 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007671/1.175, allocations: 123.8 kB / 1.524 GB, free: 10.57 MB / 1.248 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.00281/1.178, allocations: 0.9773 MB / 1.525 GB, free: 9.586 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.179, allocations: 298.2 kB / 1.525 GB, free: 9.293 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/1.193, allocations: 5.918 MB / 1.531 GB, free: 3.316 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.81e-05/1.193, allocations: 15.94 kB / 1.531 GB, free: 3.301 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.193, allocations: 0 / 1.531 GB, free: 3.301 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/1.195, allocations: 0.8769 MB / 1.531 GB, free: 2.402 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007361/1.196, allocations: 75.88 kB / 1.532 GB, free: 2.328 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/1.199, allocations: 415.4 kB / 1.532 GB, free: 1.922 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005192/1.2, allocations: 226.1 kB / 1.532 GB, free: 1.699 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01438/1.214, allocations: 5.695 MB / 1.538 GB, free: 11.95 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01579/1.23, allocations: 8.322 MB / 1.546 GB, free: 3.555 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004609/1.235, allocations: 2.443 MB / 1.548 GB, free: 1.098 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002408/1.237, allocations: 1.834 MB / 1.55 GB, free: 15.25 MB / 1.279 GB Notification: Performance of Backend: time 4.71e-07/1.237, allocations: 0 / 1.55 GB, free: 15.25 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009835/1.247, allocations: 4.281 MB / 1.554 GB, free: 11.37 MB / 1.279 GB Notification: Performance of SimCode: time 0.01043/1.257, allocations: 7.313 MB / 1.561 GB, free: 4.035 MB / 1.279 GB Notification: Performance of Templates: time 0.6809/1.938, allocations: 62.02 MB / 1.622 GB, free: 291.5 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)