Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.792/1.792, allocations: 288.3 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 194 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009074/0.0009074, allocations: 97.72 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 14.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1912, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5745/0.7658, allocations: 136.7 MB / 1.113 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03073/0.7966, allocations: 22.65 MB / 1.135 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003956/0.8006, allocations: 63.09 kB / 1.135 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.8032, allocations: 0.9937 MB / 1.136 GB, free: 15.78 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008019/0.8112, allocations: 2.165 MB / 1.138 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006036/0.8173, allocations: 1.684 MB / 1.14 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00657/0.8239, allocations: 3.149 MB / 1.143 GB, free: 13.85 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004843/0.8288, allocations: 3.026 MB / 1.146 GB, free: 12.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.8312, allocations: 1.371 MB / 1.147 GB, free: 12.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/0.8345, allocations: 1.728 MB / 1.149 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007854/0.8353, allocations: 120.6 kB / 1.149 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.8375, allocations: 0.5259 MB / 1.149 GB, free: 11.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007869/0.8383, allocations: 0.752 MB / 1.15 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.8394, allocations: 0.6745 MB / 1.151 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005165/0.8446, allocations: 4.576 MB / 1.155 GB, free: 7.531 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8446, allocations: 0 / 1.155 GB, free: 7.531 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8446, allocations: 0 / 1.155 GB, free: 7.531 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000186/0.8448, allocations: 0 / 1.155 GB, free: 7.531 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.01034/0.8552, allocations: 4.016 MB / 1.159 GB, free: 4.848 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.8552, allocations: 13.8 kB / 1.159 GB, free: 4.844 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/0.8694, allocations: 2.725 MB / 1.162 GB, free: 3.582 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005817/0.8753, allocations: 2.238 MB / 1.164 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.8755, allocations: 251.8 kB / 1.164 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.8766, allocations: 325.7 kB / 1.165 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.8887, allocations: 5.199 MB / 1.17 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.744e-05/0.8888, allocations: 2.688 kB / 1.17 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003852/0.8892, allocations: 139 kB / 1.17 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/0.8893, allocations: 84.45 kB / 1.17 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.9049, allocations: 6.336 MB / 1.176 GB, free: 11.61 MB / 0.7136 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.03096/0.9359, allocations: 15.49 MB / 1.191 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009359/0.9453, allocations: 4.096 MB / 1.195 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009925/0.9463, allocations: 0.6658 MB / 1.196 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005674/0.952, allocations: 2.46 MB / 1.198 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=286): time 5.711e-06/0.952, allocations: 0 / 1.198 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=286): time 0.02069/0.9727, allocations: 8.045 MB / 1.206 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.9729, allocations: 219.9 kB / 1.206 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/0.9768, allocations: 2.492 MB / 1.209 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004618/0.9772, allocations: 73.7 kB / 1.209 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.9785, allocations: 1.424 MB / 1.21 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/0.9796, allocations: 0.9548 MB / 1.211 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.9799, allocations: 48 kB / 1.211 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.9801, allocations: 407 kB / 1.212 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004582/0.9847, allocations: 1.949 MB / 1.214 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004913/0.9897, allocations: 2.262 MB / 1.216 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/0.9947, allocations: 2.114 MB / 1.218 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.9947, allocations: 0 / 1.218 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01231/1.007, allocations: 5.09 MB / 1.223 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.007, allocations: 6.031 kB / 1.223 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.007, allocations: 4 kB / 1.223 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.008, allocations: 0.5338 MB / 1.223 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/1.012, allocations: 0.7468 MB / 1.224 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007753/1.02, allocations: 5.452 MB / 1.229 GB, free: 6.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/1.025, allocations: 0.5291 MB / 1.23 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008168/1.026, allocations: 111.9 kB / 1.23 GB, free: 5.793 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003094/1.029, allocations: 0.9593 MB / 1.231 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.03, allocations: 280.5 kB / 1.231 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/1.044, allocations: 5.698 MB / 1.237 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/1.044, allocations: 28 kB / 1.237 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/1.045, allocations: 11.95 kB / 1.237 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.644e-05/1.045, allocations: 15.94 kB / 1.237 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02264/1.067, allocations: 9.633 MB / 1.246 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.067, allocations: 4 kB / 1.246 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003749/1.071, allocations: 0.7099 MB / 1.247 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/1.073, allocations: 0.5258 MB / 1.247 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004685/1.073, allocations: 75.94 kB / 1.248 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008411/1.081, allocations: 7.123 MB / 1.254 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.081, allocations: 4 kB / 1.254 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/1.101, allocations: 8.076 MB / 1.262 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/1.104, allocations: 0.8796 MB / 1.263 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.105, allocations: 56 kB / 1.263 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003709/1.109, allocations: 403.2 kB / 1.264 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005868/1.109, allocations: 190.1 kB / 1.264 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004038/1.11, allocations: 97.8 kB / 1.264 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003276/1.113, allocations: 1.822 MB / 1.266 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.1e-07/1.113, allocations: 0 / 1.266 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004233/1.117, allocations: 1.079 MB / 1.267 GB, free: 15.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002524/1.12, allocations: 0.9968 MB / 1.268 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.132, allocations: 4.866 MB / 1.272 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.132, allocations: 8 kB / 1.272 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.006625/1.138, allocations: 2.84 MB / 1.275 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/1.142, allocations: 0.6149 MB / 1.276 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.16, allocations: 9.546 MB / 1.285 GB, free: 12.79 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/1.163, allocations: 2.604 MB / 1.288 GB, free: 10.16 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005427/1.169, allocations: 1.119 MB / 1.289 GB, free: 9.043 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/1.17, allocations: 267.2 kB / 1.289 GB, free: 8.785 MB / 0.823 GB Notification: Performance of SimCode: time 8.12e-07/1.17, allocations: 0 / 1.289 GB, free: 8.785 MB / 0.823 GB Notification: Performance of Templates: time 0.08368/1.254, allocations: 45.54 MB / 1.334 GB, free: 11.44 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)