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.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008987/0.008992, allocations: 108.2 kB / 15.06 MB, free: 6.043 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.001102/0.001102, allocations: 182.5 kB / 15.95 MB, free: 5.957 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 2.022/2.022, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.189/2.189, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004682, allocations: 16 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5367, allocations: 98.72 MB / 0.6833 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1856/0.7224, allocations: 128.6 MB / 0.8089 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03148/0.7539, allocations: 18.8 MB / 0.8272 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.7562, allocations: 47.75 kB / 0.8273 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.7586, allocations: 0.7936 MB / 0.8281 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.7642, allocations: 1.539 MB / 0.8296 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.7691, allocations: 1.239 MB / 0.8308 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005786/0.7749, allocations: 2.853 MB / 0.8336 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004737/0.7796, allocations: 2.809 MB / 0.8363 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.7823, allocations: 1.296 MB / 0.8376 GB, free: 84 kB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.7854, allocations: 1.622 MB / 0.8391 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005964/0.786, allocations: 108 kB / 0.8392 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.7881, allocations: 0.5384 MB / 0.8398 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0009783/0.7891, allocations: 0.6965 MB / 0.8405 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009885/0.7901, allocations: 0.6248 MB / 0.8411 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006272/0.7964, allocations: 4.24 MB / 0.8452 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.585e-06/0.7964, allocations: 0 / 0.8452 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.447e-06/0.7964, allocations: 0 / 0.8452 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001061/0.7965, allocations: 0 / 0.8452 GB, free: 8.227 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: 801 * Number of variables: 801 Notification: Performance of Generate backend data structure: time 0.009778/0.8063, allocations: 3.857 MB / 0.849 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8064, allocations: 8.031 kB / 0.849 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/0.8238, allocations: 2.819 MB / 0.8517 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/0.8293, allocations: 2.073 MB / 0.8538 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.8296, allocations: 234.3 kB / 0.854 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008974/0.8305, allocations: 312 kB / 0.8543 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.846, allocations: 5.018 MB / 0.8592 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.208e-05/0.8461, allocations: 3.906 kB / 0.8592 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/0.8467, allocations: 132 kB / 0.8593 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.876e-05/0.8468, allocations: 76 kB / 0.8594 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/0.868, allocations: 6.236 MB / 0.8655 GB, free: 3.195 MB / 0.6823 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.03805/0.9061, allocations: 14.36 MB / 0.8795 GB, free: 4.309 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/0.9225, allocations: 4.703 MB / 0.8841 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.9237, allocations: 0.6775 MB / 0.8847 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008162/0.9319, allocations: 2.418 MB / 0.8871 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=268): time 8.687e-06/0.932, allocations: 0 / 0.8871 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=268): time 0.04062/0.9726, allocations: 7.389 MB / 0.8943 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/0.9729, allocations: 184.3 kB / 0.8945 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007896/0.9808, allocations: 2.317 MB / 0.8968 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009057/0.9817, allocations: 73.7 kB / 0.8968 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002601/0.9844, allocations: 1.301 MB / 0.8981 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002314/0.9868, allocations: 0.8895 MB / 0.899 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/0.9874, allocations: 48 kB / 0.899 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004439/0.9878, allocations: 402.7 kB / 0.8994 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01233/1, allocations: 1.933 MB / 0.9013 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0156/1.016, allocations: 2.236 MB / 0.9035 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008058/1.024, allocations: 2.157 MB / 0.9056 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/1.024, allocations: 7.938 kB / 0.9056 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01711/1.041, allocations: 5.014 MB / 0.9105 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.041, allocations: 93.11 kB / 0.9106 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.041, allocations: 7.984 kB / 0.9106 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/1.043, allocations: 349 kB / 0.9109 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005809/1.048, allocations: 0.7917 MB / 0.9117 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4673/1.516, allocations: 3.99 MB / 0.9156 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/1.52, allocations: 0.5187 MB / 0.9161 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009328/1.521, allocations: 111.5 kB / 0.9162 GB, free: 206.8 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 (271): * Single equations (assignments): 267 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002934/1.524, allocations: 0.9107 MB / 0.9171 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007846/1.525, allocations: 259.5 kB / 0.9173 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/1.544, allocations: 5.457 MB / 0.9227 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/1.545, allocations: 30.28 kB / 0.9227 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/1.545, allocations: 5.281 kB / 0.9227 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.079e-05/1.545, allocations: 15.75 kB / 0.9227 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.571, allocations: 9.153 MB / 0.9317 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.571, allocations: 0 / 0.9317 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005218/1.576, allocations: 0.7357 MB / 0.9324 GB, free: 201.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/1.578, allocations: 379.5 kB / 0.9327 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006255/1.578, allocations: 83.34 kB / 0.9328 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007764/1.586, allocations: 5.893 MB / 0.9386 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.784e-06/1.586, allocations: 0 / 0.9386 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/1.609, allocations: 7.745 MB / 0.9461 GB, free: 193.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0024/1.611, allocations: 0.8667 MB / 0.947 GB, free: 193 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007183/1.612, allocations: 46.78 kB / 0.947 GB, free: 193 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003983/1.616, allocations: 390.4 kB / 0.9474 GB, free: 192.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007184/1.617, allocations: 178 kB / 0.9476 GB, free: 192.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004331/1.617, allocations: 98.23 kB / 0.9477 GB, free: 192.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003059/1.62, allocations: 1.686 MB / 0.9493 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.68e-07/1.62, allocations: 1.031 kB / 0.9493 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004438/1.625, allocations: 1.014 MB / 0.9503 GB, free: 191.6 MB / 0.7292 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.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 (247): * Single equations (assignments): 240 * 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.005507/1.63, allocations: 1.012 MB / 0.9513 GB, free: 191.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02352/1.654, allocations: 4.896 MB / 0.9561 GB, free: 188.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.792e-06/1.654, allocations: 1.562 kB / 0.9561 GB, free: 188.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01314/1.667, allocations: 2.699 MB / 0.9587 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005789/1.673, allocations: 0.5182 MB / 0.9592 GB, free: 186.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03163/1.705, allocations: 8.978 MB / 0.968 GB, free: 179.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002682/1.707, allocations: 2.468 MB / 0.9704 GB, free: 176.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006211/1.714, allocations: 1.086 MB / 0.9714 GB, free: 175.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/1.716, allocations: 259.2 kB / 0.9717 GB, free: 175.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.553e-06/1.716, allocations: 0 / 0.9717 GB, free: 175.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.1053/1.821, allocations: 41.77 MB / 1.012 GB, free: 134 MB / 0.7292 GB