Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0154/0.0154, allocations: 106.9 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001821/0.001821, allocations: 177.9 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.919/1.919, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.344/2.344, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004735, allocations: 8 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5397, allocations: 98.71 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1834/0.7232, allocations: 129.3 MB / 0.8096 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03134/0.7545, allocations: 19.08 MB / 0.8282 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/0.7572, allocations: 47.75 kB / 0.8283 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.7598, allocations: 0.8285 MB / 0.8291 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.7657, allocations: 1.628 MB / 0.8307 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005075/0.7708, allocations: 1.301 MB / 0.832 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006225/0.7771, allocations: 3.116 MB / 0.835 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005208/0.7823, allocations: 2.994 MB / 0.8379 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.7852, allocations: 1.378 MB / 0.8393 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/0.7884, allocations: 1.739 MB / 0.841 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006226/0.7891, allocations: 124 kB / 0.8411 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.7912, allocations: 0.5385 MB / 0.8416 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0009763/0.7922, allocations: 0.751 MB / 0.8424 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.7933, allocations: 0.6715 MB / 0.843 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006443/0.7997, allocations: 4.563 MB / 0.8475 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.7998, allocations: 0 / 0.8475 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.833e-06/0.7998, allocations: 4 kB / 0.8475 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001052/0.7999, allocations: 3.938 kB / 0.8475 GB, free: 5.883 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.01015/0.8101, allocations: 4.07 MB / 0.8514 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8101, allocations: 12.03 kB / 0.8515 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/0.8272, allocations: 2.842 MB / 0.8542 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005667/0.8329, allocations: 2.179 MB / 0.8564 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.8333, allocations: 250.7 kB / 0.8566 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009724/0.8343, allocations: 328 kB / 0.8569 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.8502, allocations: 5.256 MB / 0.862 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.184e-05/0.8503, allocations: 3.906 kB / 0.8621 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005697/0.8509, allocations: 144 kB / 0.8622 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/0.851, allocations: 80 kB / 0.8623 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/0.8723, allocations: 6.476 MB / 0.8686 GB, free: 15.99 MB / 0.698 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.03696/0.9093, allocations: 15.54 MB / 0.8838 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.922, allocations: 4.19 MB / 0.8879 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.9233, allocations: 0.6775 MB / 0.8885 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007628/0.9309, allocations: 2.522 MB / 0.891 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=286): time 9.251e-06/0.931, allocations: 4 kB / 0.891 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=286): time 0.02924/0.9602, allocations: 8.182 MB / 0.899 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.9604, allocations: 200.4 kB / 0.8992 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/0.965, allocations: 2.433 MB / 0.9015 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005897/0.9656, allocations: 73.7 kB / 0.9016 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.9673, allocations: 1.384 MB / 0.903 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/0.9689, allocations: 0.9472 MB / 0.9039 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003095/0.9692, allocations: 52 kB / 0.9039 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002956/0.9695, allocations: 403.1 kB / 0.9043 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006581/0.9761, allocations: 2.027 MB / 0.9063 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007193/0.9833, allocations: 2.324 MB / 0.9086 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007389/0.9908, allocations: 2.256 MB / 0.9108 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/0.9908, allocations: 0 / 0.9108 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=324) (initialization): time 0.4791/1.47, allocations: 5.384 MB / 0.916 GB, free: 207 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/1.47, allocations: 93.98 kB / 0.9161 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/1.47, allocations: 3.906 kB / 0.9161 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/1.472, allocations: 0.5295 MB / 0.9166 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005525/1.477, allocations: 0.7599 MB / 0.9174 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/1.495, allocations: 5.478 MB / 0.9227 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008474/1.504, allocations: 0.5395 MB / 0.9233 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.505, allocations: 113.7 kB / 0.9234 GB, free: 203.7 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.conTim1.tNext,weaDat.conTim1.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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 3 * 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.005098/1.51, allocations: 0.965 MB / 0.9243 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/1.512, allocations: 274.4 kB / 0.9246 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03469/1.546, allocations: 5.799 MB / 0.9302 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.706e-05/1.546, allocations: 31.25 kB / 0.9303 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.136e-05/1.546, allocations: 11.08 kB / 0.9303 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-05/1.547, allocations: 15.33 kB / 0.9303 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04603/1.593, allocations: 9.74 MB / 0.9398 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/1.593, allocations: 0 / 0.9398 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009144/1.602, allocations: 0.716 MB / 0.9405 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003434/1.605, allocations: 0.5223 MB / 0.941 GB, free: 197.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009949/1.606, allocations: 82.3 kB / 0.9411 GB, free: 197.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/1.626, allocations: 7.113 MB / 0.948 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.942e-06/1.626, allocations: 3.953 kB / 0.948 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02607/1.652, allocations: 8.226 MB / 0.9561 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/1.655, allocations: 0.9027 MB / 0.957 GB, free: 186.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007437/1.656, allocations: 55.59 kB / 0.957 GB, free: 186.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004417/1.66, allocations: 409.5 kB / 0.9574 GB, free: 186.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006578/1.661, allocations: 186.6 kB / 0.9576 GB, free: 186.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000431/1.661, allocations: 103.5 kB / 0.9577 GB, free: 186.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003037/1.664, allocations: 1.765 MB / 0.9594 GB, free: 185.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.77e-07/1.664, allocations: 0 / 0.9594 GB, free: 185.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003969/1.668, allocations: 1.1 MB / 0.9605 GB, free: 185 MB / 0.7292 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.conTim1.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 246 * 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.003536/1.672, allocations: 1.019 MB / 0.9615 GB, free: 184.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01438/1.686, allocations: 5.179 MB / 0.9665 GB, free: 180.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.37e-06/1.686, allocations: 8.188 kB / 0.9665 GB, free: 180.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007851/1.694, allocations: 2.898 MB / 0.9694 GB, free: 178 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/1.698, allocations: 0.545 MB / 0.9699 GB, free: 177.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1.715, allocations: 9.507 MB / 0.9792 GB, free: 167.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002434/1.718, allocations: 2.581 MB / 0.9817 GB, free: 165.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005862/1.724, allocations: 1.127 MB / 0.9828 GB, free: 164.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/1.726, allocations: 263.2 kB / 0.9831 GB, free: 163.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.685e-06/1.726, allocations: 0 / 0.9831 GB, free: 163.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.09666/1.822, allocations: 45.11 MB / 1.027 GB, free: 119.1 MB / 0.7292 GB