Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 109.4 kB / 16.42 MB, free: 5.953 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.001902/0.001902, allocations: 188.3 kB / 17.35 MB, free: 5.582 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.528/1.528, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7424, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1695/0.9119, allocations: 163.6 MB / 1.368 GB, free: 9.359 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03419/0.9461, allocations: 27.4 MB / 1.395 GB, free: 13.87 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002939/0.9491, allocations: 75.62 kB / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.9519, allocations: 1.126 MB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005474/0.9574, allocations: 1.942 MB / 1.398 GB, free: 10.71 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.9618, allocations: 1.881 MB / 1.4 GB, free: 8.84 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006653/0.9685, allocations: 5.945 MB / 1.406 GB, free: 2.879 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005864/0.9744, allocations: 4.577 MB / 1.41 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/0.9781, allocations: 2.337 MB / 1.412 GB, free: 11.89 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003909/0.982, allocations: 2.775 MB / 1.415 GB, free: 9.102 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.9834, allocations: 0.5039 MB / 1.416 GB, free: 8.598 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.9863, allocations: 1.124 MB / 1.417 GB, free: 7.473 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.9875, allocations: 1.313 MB / 1.418 GB, free: 6.156 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002553/0.9901, allocations: 2.376 MB / 1.42 GB, free: 3.77 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007019/0.9971, allocations: 6.677 MB / 1.427 GB, free: 13.07 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9971, allocations: 0 / 1.427 GB, free: 13.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9971, allocations: 0 / 1.427 GB, free: 13.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.705e-05/0.9972, allocations: 4 kB / 1.427 GB, free: 13.07 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.009601/1.007, allocations: 5.086 MB / 1.432 GB, free: 7.891 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.007, allocations: 8.031 kB / 1.432 GB, free: 7.883 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/1.02, allocations: 2.811 MB / 1.435 GB, free: 5.062 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/1.024, allocations: 2.504 MB / 1.437 GB, free: 2.488 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/1.024, allocations: 267.1 kB / 1.437 GB, free: 2.227 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006264/1.025, allocations: 344 kB / 1.438 GB, free: 1.891 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/1.036, allocations: 5.584 MB / 1.443 GB, free: 12.24 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.83e-05/1.036, allocations: 11.78 kB / 1.443 GB, free: 12.23 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/1.037, allocations: 148 kB / 1.443 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-05/1.037, allocations: 91.98 kB / 1.443 GB, free: 11.99 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/1.052, allocations: 6.716 MB / 1.45 GB, free: 5.266 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.02726/1.079, allocations: 16.85 MB / 1.466 GB, free: 3.613 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009206/1.088, allocations: 4.403 MB / 1.471 GB, free: 15.21 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/1.094, allocations: 2.78 MB / 1.473 GB, free: 12.42 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009028/1.095, allocations: 0.6737 MB / 1.474 GB, free: 11.61 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005819/1.1, allocations: 2.818 MB / 1.477 GB, free: 8.758 MB / 1.201 GB Notification: Performance of pre-optimization done (n=309): time 5.56e-06/1.1, allocations: 0 / 1.477 GB, free: 8.758 MB / 1.201 GB Notification: Performance of matching and sorting (n=309): time 0.02131/1.122, allocations: 8.846 MB / 1.485 GB, free: 15.8 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.122, allocations: 218.3 kB / 1.486 GB, free: 15.54 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00395/1.126, allocations: 2.652 MB / 1.488 GB, free: 12.88 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002953/1.126, allocations: 81.69 kB / 1.488 GB, free: 12.79 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/1.127, allocations: 1.479 MB / 1.49 GB, free: 11.29 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000929/1.128, allocations: 1.013 MB / 1.491 GB, free: 10.27 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/1.129, allocations: 0.5446 MB / 1.491 GB, free: 9.715 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/1.13, allocations: 305.1 kB / 1.491 GB, free: 9.414 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004923/1.134, allocations: 2.191 MB / 1.494 GB, free: 7.219 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00531/1.14, allocations: 2.524 MB / 1.496 GB, free: 4.625 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00999/1.15, allocations: 4.649 MB / 1.501 GB, free: 15.89 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/1.15, allocations: 4 kB / 1.501 GB, free: 15.89 MB / 1.232 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01258/1.162, allocations: 5.616 MB / 1.506 GB, free: 10.23 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.162, allocations: 8.031 kB / 1.506 GB, free: 10.22 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.162, allocations: 4 kB / 1.506 GB, free: 10.21 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/1.164, allocations: 0.5415 MB / 1.507 GB, free: 9.672 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/1.168, allocations: 0.8307 MB / 1.507 GB, free: 8.84 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/1.176, allocations: 5.731 MB / 1.513 GB, free: 2.969 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/1.18, allocations: 0.5867 MB / 1.514 GB, free: 2.379 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003933/1.18, allocations: 119.9 kB / 1.514 GB, free: 2.262 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 (310): * Single equations (assignments): 309 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002035/1.182, allocations: 1.032 MB / 1.515 GB, free: 1.219 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008231/1.183, allocations: 304.2 kB / 1.515 GB, free: 0.918 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/1.197, allocations: 6.253 MB / 1.521 GB, free: 10.6 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/1.197, allocations: 11.95 kB / 1.521 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.197, allocations: 0 / 1.521 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/1.199, allocations: 0.9024 MB / 1.522 GB, free: 9.664 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005921/1.199, allocations: 79.83 kB / 1.522 GB, free: 9.586 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/1.203, allocations: 429.1 kB / 1.523 GB, free: 9.168 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/1.203, allocations: 242.2 kB / 1.523 GB, free: 8.93 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01502/1.218, allocations: 6.084 MB / 1.529 GB, free: 2.793 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01743/1.235, allocations: 8.653 MB / 1.537 GB, free: 10.07 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005146/1.241, allocations: 2.549 MB / 1.54 GB, free: 7.512 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00301/1.244, allocations: 1.919 MB / 1.542 GB, free: 5.586 MB / 1.264 GB Notification: Performance of Backend: time 5.61e-07/1.244, allocations: 4 kB / 1.542 GB, free: 5.582 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.255, allocations: 4.485 MB / 1.546 GB, free: 1.5 MB / 1.264 GB Notification: Performance of SimCode: time 0.0128/1.268, allocations: 7.685 MB / 1.553 GB, free: 9.809 MB / 1.279 GB Notification: Performance of Templates: time 0.6503/1.918, allocations: 66.93 MB / 1.619 GB, free: 305.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)