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.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009402/0.009405, allocations: 107.4 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.001141/0.001141, allocations: 186.2 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.843/1.843, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.458/2.458, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004753, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.607, allocations: 98.72 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1909/0.7979, allocations: 130.4 MB / 0.8107 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03343/0.8314, allocations: 19.49 MB / 0.8297 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.8345, allocations: 55.69 kB / 0.8297 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.8374, allocations: 0.8712 MB / 0.8306 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006682/0.8441, allocations: 1.753 MB / 0.8323 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005631/0.8498, allocations: 1.439 MB / 0.8337 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007501/0.8573, allocations: 3.557 MB / 0.8372 GB, free: 488 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005986/0.8633, allocations: 3.239 MB / 0.8403 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.8667, allocations: 1.502 MB / 0.8418 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003863/0.8706, allocations: 1.903 MB / 0.8437 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0008341/0.8715, allocations: 140 kB / 0.8438 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.8741, allocations: 0.5697 MB / 0.8444 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.8757, allocations: 0.825 MB / 0.8452 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.8772, allocations: 0.7455 MB / 0.8459 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007848/0.885, allocations: 4.98 MB / 0.8508 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8851, allocations: 3.938 kB / 0.8508 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.86e-06/0.8851, allocations: 0 / 0.8508 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001667/0.8853, allocations: 0 / 0.8508 GB, free: 2.492 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: 937 * Number of variables: 937 Notification: Performance of Generate backend data structure: time 0.01174/0.897, allocations: 4.367 MB / 0.855 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.8971, allocations: 12.03 kB / 0.855 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/0.9146, allocations: 2.877 MB / 0.8578 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006327/0.921, allocations: 2.326 MB / 0.8601 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/0.9214, allocations: 271.3 kB / 0.8604 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.9226, allocations: 360 kB / 0.8607 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.9401, allocations: 5.591 MB / 0.8662 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.9403, allocations: 3.906 kB / 0.8662 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005989/0.9409, allocations: 160 kB / 0.8663 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.223e-05/0.941, allocations: 88 kB / 0.8664 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02285/0.9638, allocations: 6.798 MB / 0.8731 GB, free: 11.41 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.04308/1.007, allocations: 17.22 MB / 0.8899 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/1.022, allocations: 4.599 MB / 0.8944 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/1.023, allocations: 0.6738 MB / 0.895 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008574/1.032, allocations: 2.674 MB / 0.8976 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=313): time 8.58e-06/1.032, allocations: 0 / 0.8976 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=313): time 0.03511/1.067, allocations: 9.512 MB / 0.9069 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/1.067, allocations: 188.6 kB / 0.9071 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005226/1.072, allocations: 2.571 MB / 0.9096 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006752/1.073, allocations: 85.7 kB / 0.9097 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.075, allocations: 1.482 MB / 0.9111 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001732/1.077, allocations: 1.043 MB / 0.9122 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/1.077, allocations: 56 kB / 0.9122 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000332/1.077, allocations: 419.6 kB / 0.9126 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.47/1.547, allocations: 2.129 MB / 0.9147 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008091/1.556, allocations: 2.482 MB / 0.9171 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008104/1.564, allocations: 2.402 MB / 0.9195 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.492e-05/1.564, allocations: 1 kB / 0.9195 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.02012/1.584, allocations: 5.862 MB / 0.9252 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/1.584, allocations: 93.25 kB / 0.9253 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.584, allocations: 4.781 kB / 0.9253 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/1.587, allocations: 0.8016 MB / 0.9261 GB, free: 203.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/1.592, allocations: 0.7768 MB / 0.9268 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/1.607, allocations: 7.229 MB / 0.9339 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00481/1.612, allocations: 0.5656 MB / 0.9344 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008836/1.613, allocations: 121.8 kB / 0.9346 GB, free: 199.3 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 (284): * Single equations (assignments): 280 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003765/1.616, allocations: 1.015 MB / 0.9355 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008993/1.617, allocations: 297.4 kB / 0.9358 GB, free: 198.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02081/1.638, allocations: 6.282 MB / 0.942 GB, free: 196.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/1.638, allocations: 30.12 kB / 0.942 GB, free: 196.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.593e-05/1.638, allocations: 13.09 kB / 0.942 GB, free: 196.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.255e-05/1.638, allocations: 16.41 kB / 0.942 GB, free: 196.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02911/1.668, allocations: 10.55 MB / 0.9523 GB, free: 190.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/1.668, allocations: 0 / 0.9523 GB, free: 190.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005113/1.673, allocations: 0.732 MB / 0.953 GB, free: 190.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/1.675, allocations: 0.7414 MB / 0.9538 GB, free: 190 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007795/1.676, allocations: 94.36 kB / 0.9539 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/1.69, allocations: 10 MB / 0.9636 GB, free: 181.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.273e-06/1.69, allocations: 0 / 0.9636 GB, free: 181.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02384/1.714, allocations: 8.873 MB / 0.9723 GB, free: 174.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002616/1.717, allocations: 0.9495 MB / 0.9732 GB, free: 173.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009832/1.718, allocations: 56 kB / 0.9733 GB, free: 173.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004269/1.722, allocations: 424 kB / 0.9737 GB, free: 172.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007673/1.723, allocations: 210.1 kB / 0.9739 GB, free: 172.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004716/1.723, allocations: 107.9 kB / 0.974 GB, free: 172.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003205/1.726, allocations: 1.864 MB / 0.9758 GB, free: 170.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.024e-06/1.726, allocations: 0 / 0.9758 GB, free: 170.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004763/1.731, allocations: 1.215 MB / 0.977 GB, free: 169.3 MB / 0.7292 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.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 (263): * Single equations (assignments): 255 * 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.003786/1.735, allocations: 1.04 MB / 0.978 GB, free: 168.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01502/1.75, allocations: 5.584 MB / 0.9835 GB, free: 163 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.322e-06/1.75, allocations: 4 kB / 0.9835 GB, free: 163 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008452/1.759, allocations: 3.257 MB / 0.9866 GB, free: 159.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/1.762, allocations: 0.5851 MB / 0.9872 GB, free: 159.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.784, allocations: 10.25 MB / 0.9972 GB, free: 148.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003628/1.787, allocations: 2.73 MB / 0.9999 GB, free: 146.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006683/1.794, allocations: 1.171 MB / 1.001 GB, free: 144.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/1.796, allocations: 271.2 kB / 1.001 GB, free: 144.6 MB / 0.7292 GB Notification: Performance of SimCode: time 2.501e-06/1.796, allocations: 0 / 1.001 GB, free: 144.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.1066/1.903, allocations: 49.51 MB / 1.05 GB, free: 95.51 MB / 0.7292 GB