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.SimpleRoomOneElement.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_6_0_0_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01264/0.01264, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001225/0.001224, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.851/3.851, allocations: 389.1 MB / 405.9 MB, free: 67.65 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.247/4.247, allocations: 472.3 MB / 0.9017 GB, free: 13.39 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004966, allocations: 12 kB / 1.008 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6597, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.177/0.8367, allocations: 137 MB / 1.238 GB, free: 47.14 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03839/0.8752, allocations: 20.11 MB / 1.258 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.8778, allocations: 43.75 kB / 1.258 GB, free: 26.97 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.8801, allocations: 0.7544 MB / 1.258 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005527/0.8857, allocations: 1.472 MB / 1.26 GB, free: 24.74 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.8906, allocations: 1.214 MB / 1.261 GB, free: 23.54 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006182/0.8968, allocations: 4.199 MB / 1.265 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004617/0.9015, allocations: 2.713 MB / 1.268 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.9042, allocations: 1.245 MB / 1.269 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/0.9078, allocations: 1.72 MB / 1.271 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007923/0.9087, allocations: 100 kB / 1.271 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.9113, allocations: 0.5499 MB / 1.271 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.9123, allocations: 0.6659 MB / 1.272 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009339/0.9133, allocations: 0.5897 MB / 1.272 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005804/0.9191, allocations: 4.01 MB / 1.276 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.9192, allocations: 7.984 kB / 1.276 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.806e-06/0.9192, allocations: 0 / 1.276 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000156/0.9193, allocations: 0 / 1.276 GB, free: 7.77 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 765 * Number of variables: 765 Notification: Performance of Generate backend data structure: time 0.01183/0.9312, allocations: 3.707 MB / 1.28 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.9313, allocations: 13.81 kB / 1.28 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001403/0.9327, allocations: 421.5 kB / 1.28 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02415/0.9568, allocations: 2.8 MB / 1.283 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5567/1.514, allocations: 2.029 MB / 1.285 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/1.514, allocations: 229.4 kB / 1.285 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.515, allocations: 294.4 kB / 1.286 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/1.536, allocations: 4.864 MB / 1.29 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/1.537, allocations: 1.312 kB / 1.29 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008941/1.537, allocations: 122 kB / 1.29 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.241e-05/1.538, allocations: 78.16 kB / 1.291 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02788/1.565, allocations: 6.045 MB / 1.296 GB, free: 168.2 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.0413/1.607, allocations: 13.46 MB / 1.31 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/1.626, allocations: 4.498 MB / 1.314 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008689/1.635, allocations: 2.263 MB / 1.316 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/1.636, allocations: 0.677 MB / 1.317 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009291/1.645, allocations: 2.333 MB / 1.319 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=255): time 6.573e-06/1.645, allocations: 0 / 1.319 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=255): time 0.03034/1.676, allocations: 6.798 MB / 1.326 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/1.676, allocations: 188.2 kB / 1.326 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003937/1.68, allocations: 2.204 MB / 1.328 GB, free: 138 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008054/1.681, allocations: 69.7 kB / 1.328 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/1.682, allocations: 1.235 MB / 1.329 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.683, allocations: 0.8458 MB / 1.33 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/1.684, allocations: 48 kB / 1.33 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002098/1.684, allocations: 399.6 kB / 1.331 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008077/1.692, allocations: 1.855 MB / 1.332 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0085/1.701, allocations: 2.161 MB / 1.335 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008346/1.709, allocations: 2.069 MB / 1.337 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/1.709, allocations: 0.5625 kB / 1.337 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.0196/1.729, allocations: 4.759 MB / 1.341 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.783e-05/1.729, allocations: 97.03 kB / 1.341 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.729, allocations: 8.484 kB / 1.341 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009523/1.73, allocations: 233.1 kB / 1.342 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007546/1.737, allocations: 0.7348 MB / 1.342 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005396/1.743, allocations: 3.1 MB / 1.345 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006344/1.749, allocations: 0.5022 MB / 1.346 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008434/1.75, allocations: 107.9 kB / 1.346 GB, free: 119.6 MB / 0.6823 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 (265): * Single equations (assignments): 261 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002944/1.753, allocations: 0.8789 MB / 1.347 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008586/1.754, allocations: 248.9 kB / 1.347 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02231/1.776, allocations: 5.174 MB / 1.352 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/1.776, allocations: 24 kB / 1.352 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.776, allocations: 8.438 kB / 1.352 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.461e-05/1.777, allocations: 11.95 kB / 1.352 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02951/1.806, allocations: 8.656 MB / 1.361 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/1.806, allocations: 1.312 kB / 1.361 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007153/1.813, allocations: 0.6919 MB / 1.361 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/1.815, allocations: 269.9 kB / 1.361 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007486/1.815, allocations: 68.75 kB / 1.362 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006023/1.821, allocations: 4.806 MB / 1.366 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.822, allocations: 6.953 kB / 1.366 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02782/1.849, allocations: 7.341 MB / 1.373 GB, free: 91.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00291/1.852, allocations: 0.825 MB / 1.374 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.853, allocations: 45.12 kB / 1.374 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005926/1.859, allocations: 395.2 kB / 1.375 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008433/1.86, allocations: 165.7 kB / 1.375 GB, free: 89.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000468/1.861, allocations: 95.86 kB / 1.375 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003072/1.864, allocations: 1.611 MB / 1.376 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.172e-06/1.864, allocations: 0 / 1.376 GB, free: 87.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004218/1.868, allocations: 0.9582 MB / 1.377 GB, free: 87.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (244): * Single equations (assignments): 237 * 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 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.03144/1.9, allocations: 8.79 MB / 1.386 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01776/1.917, allocations: 4.661 MB / 1.391 GB, free: 73.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.917, allocations: 4.938 kB / 1.391 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.009342/1.927, allocations: 2.548 MB / 1.393 GB, free: 71.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004812/1.932, allocations: 0.5308 MB / 1.394 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06809/2, allocations: 23 MB / 1.416 GB, free: 46.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/2.003, allocations: 2.391 MB / 1.418 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.007367/2.01, allocations: 1.071 MB / 1.419 GB, free: 43.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003911/2.014, allocations: 1.304 MB / 1.421 GB, free: 41.96 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/2.014, allocations: 0 / 1.421 GB, free: 41.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.163/2.177, allocations: 63.03 MB / 1.482 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006383/2.178, allocations: 319.3 kB / 1.483 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.124/7.302, allocations: 0 / 1.483 GB, free: 11.21 MB / 0.7136 GB