Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.009/5.009, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00239/0.00239, allocations: 350.9 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.233/4.233, allocations: 410.7 MB / 1.112 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001763, allocations: 177.1 kB / 1.225 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004831, allocations: 8 kB / 1.348 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5873, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1463/0.7337, allocations: 145.7 MB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02982/0.7635, allocations: 24.2 MB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003003/0.7666, allocations: 59.69 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.7692, allocations: 0.9213 MB / 1.628 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00729/0.7765, allocations: 2.104 MB / 1.63 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005596/0.7821, allocations: 1.63 MB / 1.631 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005517/0.7877, allocations: 4.487 MB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004057/0.7918, allocations: 2.862 MB / 1.638 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.7941, allocations: 1.295 MB / 1.64 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.7974, allocations: 1.801 MB / 1.641 GB, free: 99.26 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000754/0.7982, allocations: 104 kB / 1.642 GB, free: 99.16 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.8002, allocations: 0.5343 MB / 1.642 GB, free: 98.62 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008296/0.801, allocations: 0.7158 MB / 1.643 GB, free: 97.91 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0008843/0.8019, allocations: 0.6247 MB / 1.643 GB, free: 97.27 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004944/0.8069, allocations: 4.255 MB / 1.648 GB, free: 93.01 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.297e-06/0.8069, allocations: 0 / 1.648 GB, free: 93.01 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.946e-06/0.807, allocations: 4 kB / 1.648 GB, free: 93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001064/0.8071, allocations: 0 / 1.648 GB, free: 93 MB / 0.8542 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.008597/0.8157, allocations: 3.792 MB / 1.651 GB, free: 89.14 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.8157, allocations: 15.62 kB / 1.651 GB, free: 89.13 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.8309, allocations: 2.694 MB / 1.654 GB, free: 86.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004908/0.8359, allocations: 2.17 MB / 1.656 GB, free: 84.18 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.8361, allocations: 234.3 kB / 1.656 GB, free: 83.95 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007845/0.8369, allocations: 307.9 kB / 1.657 GB, free: 83.65 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/0.8496, allocations: 4.989 MB / 1.661 GB, free: 78.58 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.291e-05/0.8498, allocations: 0 / 1.661 GB, free: 78.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004888/0.8503, allocations: 128 kB / 1.662 GB, free: 78.45 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.8503, allocations: 80 kB / 1.662 GB, free: 78.38 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.868, allocations: 6.099 MB / 1.668 GB, free: 72.26 MB / 0.8542 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.02952/0.8975, allocations: 14.28 MB / 1.681 GB, free: 57.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.9099, allocations: 4.517 MB / 1.686 GB, free: 52.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00603/0.916, allocations: 2.379 MB / 1.688 GB, free: 50.57 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000953/0.917, allocations: 0.6735 MB / 1.689 GB, free: 49.76 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006299/0.9233, allocations: 2.352 MB / 1.691 GB, free: 47.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=268): time 7.547e-06/0.9234, allocations: 0 / 1.691 GB, free: 47.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=268): time 0.02228/0.9457, allocations: 7.231 MB / 1.698 GB, free: 40.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.9458, allocations: 206 kB / 1.698 GB, free: 39.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/0.9496, allocations: 2.364 MB / 1.701 GB, free: 37.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005785/0.9502, allocations: 69.7 kB / 1.701 GB, free: 37.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.9514, allocations: 1.333 MB / 1.702 GB, free: 35.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.9525, allocations: 0.8934 MB / 1.703 GB, free: 35.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.9528, allocations: 52 kB / 1.703 GB, free: 34.99 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.953, allocations: 402.8 kB / 1.703 GB, free: 34.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005302/0.9583, allocations: 1.87 MB / 1.705 GB, free: 32.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005865/0.9642, allocations: 2.186 MB / 1.707 GB, free: 30.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/0.97, allocations: 2.027 MB / 1.709 GB, free: 28.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.97, allocations: 4 kB / 1.709 GB, free: 28.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01391/0.9839, allocations: 4.772 MB / 1.714 GB, free: 23.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.984, allocations: 8 kB / 1.714 GB, free: 23.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.984, allocations: 4 kB / 1.714 GB, free: 23.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.9851, allocations: 349.3 kB / 1.714 GB, free: 23.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005651/0.9908, allocations: 0.7449 MB / 1.715 GB, free: 22.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006107/0.9969, allocations: 3.909 MB / 1.719 GB, free: 18.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004438/1.001, allocations: 0.5013 MB / 1.719 GB, free: 17.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/1.002, allocations: 111.9 kB / 1.72 GB, free: 17.83 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 275 * 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.004393/1.007, allocations: 0.9172 MB / 1.72 GB, free: 16.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.008, allocations: 272.6 kB / 1.721 GB, free: 16.63 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02406/1.032, allocations: 5.346 MB / 1.726 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/1.032, allocations: 24 kB / 1.726 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.032, allocations: 8 kB / 1.726 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.504e-05/1.032, allocations: 15.94 kB / 1.726 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02128/1.054, allocations: 9.028 MB / 1.735 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.054, allocations: 4 kB / 1.735 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004605/1.058, allocations: 0.6825 MB / 1.735 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/1.06, allocations: 385.6 kB / 1.736 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005369/1.06, allocations: 75.94 kB / 1.736 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5377/1.598, allocations: 5.781 MB / 1.742 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.091e-06/1.598, allocations: 0 / 1.742 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/1.622, allocations: 7.593 MB / 1.749 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/1.624, allocations: 0.8433 MB / 1.75 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009518/1.625, allocations: 51.91 kB / 1.75 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004091/1.629, allocations: 382.8 kB / 1.75 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007858/1.63, allocations: 182.9 kB / 1.75 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004768/1.631, allocations: 92.41 kB / 1.75 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003668/1.634, allocations: 1.714 MB / 1.752 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.15e-06/1.635, allocations: 0 / 1.752 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004095/1.639, allocations: 0.9997 MB / 1.753 GB, free: 260 MB / 0.8542 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.003631/1.642, allocations: 0.9712 MB / 1.754 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01361/1.656, allocations: 4.598 MB / 1.759 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.591e-06/1.656, allocations: 3.938 kB / 1.759 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008422/1.664, allocations: 2.65 MB / 1.761 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/1.669, allocations: 0.6171 MB / 1.762 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/1.687, allocations: 9.027 MB / 1.771 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002687/1.69, allocations: 2.501 MB / 1.773 GB, free: 246 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005943/1.696, allocations: 1.109 MB / 1.774 GB, free: 245 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/1.698, allocations: 255.3 kB / 1.774 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.875e-06/1.698, allocations: 0 / 1.774 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.08932/1.787, allocations: 41.79 MB / 1.815 GB, free: 203.5 MB / 0.8542 GB