Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.439/2.439, 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.001566/0.001566, 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.453/2.453, 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.002367/0.002367, allocations: 100.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007707/0.000771, allocations: 11.72 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2324, allocations: 106.2 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.2278/0.4602, allocations: 137.7 MB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.05703/0.5173, allocations: 23.09 MB / 1.056 GB, free: 236 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004948/0.5223, allocations: 67.62 kB / 1.056 GB, free: 168 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.8296/1.352, allocations: 1.035 MB / 1.057 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/1.363, allocations: 2.287 MB / 1.059 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00815/1.372, allocations: 1.818 MB / 1.061 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009503/1.381, allocations: 3.598 MB / 1.065 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007732/1.389, allocations: 3.266 MB / 1.068 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005376/1.394, allocations: 1.496 MB / 1.069 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006115/1.401, allocations: 1.896 MB / 1.071 GB, free: 19.13 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001627/1.402, allocations: 142.6 kB / 1.071 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/1.406, allocations: 0.5545 MB / 1.072 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002304/1.409, allocations: 0.8302 MB / 1.073 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002573/1.411, allocations: 0.7431 MB / 1.073 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.009287/1.421, allocations: 4.998 MB / 1.078 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.421, allocations: 0 / 1.078 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.405e-06/1.421, allocations: 0 / 1.078 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002846/1.421, allocations: 0 / 1.078 GB, free: 18.77 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01648/1.438, allocations: 4.309 MB / 1.082 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.438, allocations: 11.97 kB / 1.082 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02384/1.462, allocations: 2.762 MB / 1.085 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/1.469, allocations: 2.363 MB / 1.087 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/1.47, allocations: 281 kB / 1.088 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/1.471, allocations: 358.9 kB / 1.088 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/1.494, allocations: 5.544 MB / 1.093 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/1.494, allocations: 1.547 kB / 1.093 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001349/1.495, allocations: 149.7 kB / 1.094 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-05/1.496, allocations: 87.88 kB / 1.094 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02956/1.525, allocations: 6.675 MB / 1.1 GB, free: 13.88 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.06437/1.59, allocations: 17.13 MB / 1.117 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02293/1.613, allocations: 4.499 MB / 1.121 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001982/1.615, allocations: 0.6696 MB / 1.122 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01327/1.628, allocations: 2.609 MB / 1.124 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=313): time 7.614e-06/1.628, allocations: 2.156 kB / 1.124 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=313): time 0.04641/1.674, allocations: 9.35 MB / 1.134 GB, free: 160 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/1.675, allocations: 216.1 kB / 1.134 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005431/1.68, allocations: 2.639 MB / 1.136 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00107/1.681, allocations: 80.58 kB / 1.136 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/1.683, allocations: 1.534 MB / 1.138 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002081/1.685, allocations: 1.039 MB / 1.139 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/1.685, allocations: 52.53 kB / 1.139 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002541/1.686, allocations: 413.2 kB / 1.139 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01047/1.696, allocations: 2.068 MB / 1.141 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009797/1.706, allocations: 2.414 MB / 1.144 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009624/1.716, allocations: 2.257 MB / 1.146 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/1.716, allocations: 4 kB / 1.146 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.02361/1.739, allocations: 5.558 MB / 1.151 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/1.739, allocations: 8 kB / 1.151 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.739, allocations: 4 kB / 1.151 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/1.743, allocations: 0.8403 MB / 1.152 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008035/1.751, allocations: 0.7567 MB / 1.153 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/1.768, allocations: 7.21 MB / 1.16 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007318/1.776, allocations: 0.5468 MB / 1.161 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.777, allocations: 115.2 kB / 1.161 GB, free: 13.79 MB / 0.7448 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 (281): * Single equations (assignments): 280 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004001/1.781, allocations: 1.017 MB / 1.162 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.782, allocations: 306.3 kB / 1.162 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02633/1.808, allocations: 6.187 MB / 1.168 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-05/1.808, allocations: 35.98 kB / 1.168 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.808, allocations: 9.859 kB / 1.168 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.832e-05/1.809, allocations: 11.95 kB / 1.168 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03831/1.847, allocations: 10.48 MB / 1.178 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/1.847, allocations: 0 / 1.178 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007902/1.855, allocations: 0.727 MB / 1.179 GB, free: 292 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003488/1.858, allocations: 0.7334 MB / 1.18 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/1.859, allocations: 82.81 kB / 1.18 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/1.879, allocations: 10.01 MB / 1.19 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.879, allocations: 2.906 kB / 1.19 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03472/1.913, allocations: 8.753 MB / 1.198 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003937/1.917, allocations: 0.927 MB / 1.199 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/1.919, allocations: 67.59 kB / 1.199 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006781/1.926, allocations: 407.8 kB / 1.199 GB, free: 348 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/1.927, allocations: 210.7 kB / 1.2 GB, free: 164 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005446/1.927, allocations: 103.8 kB / 1.2 GB, free: 84 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00465/1.932, allocations: 1.909 MB / 1.202 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.31e-07/1.932, allocations: 0 / 1.202 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006286/1.938, allocations: 1.202 MB / 1.203 GB, free: 13.59 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (267): * Single equations (assignments): 259 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003924/1.942, allocations: 1.005 MB / 1.204 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02251/1.965, allocations: 5.285 MB / 1.209 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/1.965, allocations: 4 kB / 1.209 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0128/1.978, allocations: 3.223 MB / 1.212 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006476/1.984, allocations: 0.6597 MB / 1.213 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03187/2.016, allocations: 10.31 MB / 1.223 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005019/2.021, allocations: 2.752 MB / 1.226 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.008181/2.029, allocations: 1.137 MB / 1.227 GB, free: 9.363 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/2.032, allocations: 268.3 kB / 1.227 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of SimCode: time 9.12e-07/2.032, allocations: 4 kB / 1.227 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of Templates: time 0.1447/2.177, allocations: 49.93 MB / 1.276 GB, free: 7.621 MB / 0.8386 GB