Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.244/2.244, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 189.7 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.583/2.583, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 100.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004841, allocations: 15.66 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2172, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2137/0.431, allocations: 135.9 MB / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04666/0.4777, allocations: 22.4 MB / 1.053 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.4813, allocations: 59.62 kB / 1.054 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004985/0.4863, allocations: 0.9646 MB / 1.054 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.6807/1.167, allocations: 2.067 MB / 1.056 GB, free: 4.242 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007406/1.175, allocations: 1.623 MB / 1.058 GB, free: 4.223 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007242/1.182, allocations: 2.876 MB / 1.061 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006547/1.188, allocations: 2.856 MB / 1.064 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/1.193, allocations: 1.29 MB / 1.065 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005024/1.198, allocations: 1.614 MB / 1.067 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001513/1.199, allocations: 107.5 kB / 1.067 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/1.203, allocations: 0.5175 MB / 1.067 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002215/1.205, allocations: 0.7042 MB / 1.068 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002274/1.208, allocations: 0.6235 MB / 1.068 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008821/1.217, allocations: 4.247 MB / 1.073 GB, free: 3.551 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.217, allocations: 0 / 1.073 GB, free: 3.551 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.956e-06/1.217, allocations: 6.531 kB / 1.073 GB, free: 3.547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002534/1.217, allocations: 0 / 1.073 GB, free: 3.547 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: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.01576/1.233, allocations: 3.788 MB / 1.076 GB, free: 1.879 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.233, allocations: 9.938 kB / 1.076 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02409/1.257, allocations: 2.703 MB / 1.079 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007966/1.265, allocations: 2.129 MB / 1.081 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/1.265, allocations: 234 kB / 1.081 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/1.267, allocations: 309.8 kB / 1.082 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02237/1.289, allocations: 4.956 MB / 1.086 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001494/1.29, allocations: 2.906 kB / 1.086 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/1.291, allocations: 136.9 kB / 1.086 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.46e-05/1.291, allocations: 76.84 kB / 1.087 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02697/1.318, allocations: 6.1 MB / 1.093 GB, free: 16.71 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.0484/1.367, allocations: 14.29 MB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02144/1.388, allocations: 4.57 MB / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/1.39, allocations: 0.6656 MB / 1.112 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01035/1.4, allocations: 2.356 MB / 1.114 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=268): time 8.567e-06/1.4, allocations: 0 / 1.114 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=268): time 0.03393/1.434, allocations: 7.233 MB / 1.121 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/1.435, allocations: 209.7 kB / 1.121 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005194/1.44, allocations: 2.379 MB / 1.123 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.441, allocations: 75.7 kB / 1.124 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001691/1.443, allocations: 1.348 MB / 1.125 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/1.445, allocations: 0.8908 MB / 1.126 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/1.445, allocations: 45.41 kB / 1.126 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000308/1.445, allocations: 402 kB / 1.126 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007978/1.453, allocations: 1.857 MB / 1.128 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00887/1.462, allocations: 2.167 MB / 1.13 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008697/1.471, allocations: 2.019 MB / 1.132 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/1.471, allocations: 2.469 kB / 1.132 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.02105/1.492, allocations: 4.725 MB / 1.137 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/1.492, allocations: 12 kB / 1.137 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.492, allocations: 4 kB / 1.137 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/1.494, allocations: 338.2 kB / 1.137 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008231/1.502, allocations: 0.772 MB / 1.138 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008861/1.511, allocations: 4.019 MB / 1.142 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00694/1.518, allocations: 0.5084 MB / 1.142 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.519, allocations: 104.3 kB / 1.142 GB, free: 11.33 MB / 0.7292 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 (268): * Single equations (assignments): 267 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003837/1.523, allocations: 0.9228 MB / 1.143 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.524, allocations: 268.6 kB / 1.143 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0244/1.549, allocations: 5.35 MB / 1.149 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/1.549, allocations: 28 kB / 1.149 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.549, allocations: 4 kB / 1.149 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.147e-05/1.549, allocations: 19.89 kB / 1.149 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03522/1.584, allocations: 9.041 MB / 1.158 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/1.584, allocations: 0 / 1.158 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008412/1.592, allocations: 0.7326 MB / 1.158 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/1.595, allocations: 384.2 kB / 1.159 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/1.596, allocations: 75.81 kB / 1.159 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/1.611, allocations: 5.905 MB / 1.164 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.611, allocations: 0 / 1.164 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04219/1.653, allocations: 7.597 MB / 1.172 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004882/1.658, allocations: 0.8444 MB / 1.173 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001788/1.66, allocations: 55.61 kB / 1.173 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008181/1.668, allocations: 385.2 kB / 1.173 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/1.67, allocations: 178.2 kB / 1.173 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007561/1.671, allocations: 100.3 kB / 1.173 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.006064/1.677, allocations: 1.727 MB / 1.175 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.183e-06/1.677, allocations: 0 / 1.175 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006062/1.683, allocations: 1.003 MB / 1.176 GB, free: 1.074 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (251): * Single equations (assignments): 244 * 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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003936/1.687, allocations: 0.986 MB / 1.177 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01974/1.707, allocations: 4.572 MB / 1.181 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.707, allocations: 2.906 kB / 1.181 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01087/1.718, allocations: 2.666 MB / 1.184 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00574/1.723, allocations: 0.5692 MB / 1.185 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02722/1.751, allocations: 9.019 MB / 1.193 GB, free: 2.66 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003797/1.754, allocations: 2.493 MB / 1.196 GB, free: 316 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.008119/1.763, allocations: 1.122 MB / 1.197 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002435/1.765, allocations: 256.4 kB / 1.197 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of SimCode: time 2.635e-06/1.765, allocations: 0 / 1.197 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.1238/1.889, allocations: 42.2 MB / 1.238 GB, free: 5.137 MB / 0.8073 GB