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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="Buildings_6_0_0_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.01591/0.01591, allocations: 224 kB / 15.18 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.001175/0.001175, allocations: 179 kB / 16.06 MB, free: 5.828 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 4.005/4.005, allocations: 389 MB / 405.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.044/4.044, allocations: 472.3 MB / 0.9018 GB, free: 92 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.000499, allocations: 8 kB / 1.008 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.671, allocations: 98.71 MB / 1.104 GB, free: 206.3 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1856/0.8567, allocations: 139.7 MB / 1.24 GB, free: 80 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03154/0.8883, allocations: 20.94 MB / 1.261 GB, free: 59.05 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003117/0.8914, allocations: 55.69 kB / 1.261 GB, free: 59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00265/0.8941, allocations: 0.8359 MB / 1.262 GB, free: 58.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006411/0.9006, allocations: 1.745 MB / 1.264 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005668/0.9063, allocations: 1.447 MB / 1.265 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007974/0.9142, allocations: 5.459 MB / 1.27 GB, free: 49.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005455/0.9198, allocations: 3.236 MB / 1.273 GB, free: 46.4 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.9227, allocations: 1.529 MB / 1.275 GB, free: 44.86 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004024/0.9267, allocations: 2.132 MB / 1.277 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008667/0.9276, allocations: 140 kB / 1.277 GB, free: 42.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.9302, allocations: 0.5928 MB / 1.278 GB, free: 41.99 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009381/0.9312, allocations: 0.8405 MB / 1.279 GB, free: 41.15 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.9323, allocations: 0.7462 MB / 1.279 GB, free: 40.39 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006728/0.939, allocations: 4.999 MB / 1.284 GB, free: 35.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9391, allocations: 0 / 1.284 GB, free: 35.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9391, allocations: 0 / 1.284 GB, free: 35.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001927/0.9393, allocations: 0 / 1.284 GB, free: 35.38 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: 937 * Number of variables: 937 Notification: Performance of Generate backend data structure: time 0.01416/0.9535, allocations: 4.379 MB / 1.288 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.9536, allocations: 12.03 kB / 1.288 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001946/0.9555, allocations: 0.4941 MB / 1.289 GB, free: 30.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03352/0.9891, allocations: 2.881 MB / 1.292 GB, free: 27.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009273/0.9984, allocations: 2.353 MB / 1.294 GB, free: 25.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003907/0.9989, allocations: 279.3 kB / 1.294 GB, free: 24.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/1.001, allocations: 360 kB / 1.295 GB, free: 24.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/1.027, allocations: 5.614 MB / 1.3 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/1.028, allocations: 5.391 kB / 1.3 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/1.029, allocations: 156 kB / 1.3 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.023e-05/1.029, allocations: 92 kB / 1.3 GB, free: 18.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02658/1.055, allocations: 6.791 MB / 1.307 GB, free: 11.73 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.04848/1.104, allocations: 17.2 MB / 1.324 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01911/1.123, allocations: 4.592 MB / 1.328 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01129/1.134, allocations: 3.032 MB / 1.331 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/1.136, allocations: 0.6816 MB / 1.332 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.555/1.691, allocations: 2.678 MB / 1.335 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=313): time 9.378e-06/1.691, allocations: 0 / 1.335 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=313): time 0.04676/1.738, allocations: 9.469 MB / 1.344 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/1.738, allocations: 189.3 kB / 1.344 GB, free: 203 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005785/1.744, allocations: 2.55 MB / 1.346 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009179/1.745, allocations: 80.75 kB / 1.346 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/1.747, allocations: 1.493 MB / 1.348 GB, free: 201.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001963/1.749, allocations: 1.038 MB / 1.349 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/1.749, allocations: 55.91 kB / 1.349 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000284/1.75, allocations: 417.1 kB / 1.349 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01065/1.76, allocations: 2.14 MB / 1.352 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/1.771, allocations: 2.496 MB / 1.354 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.781, allocations: 2.396 MB / 1.356 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/1.781, allocations: 1.125 kB / 1.356 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.02405/1.805, allocations: 5.858 MB / 1.362 GB, free: 195.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.769e-05/1.806, allocations: 94.19 kB / 1.362 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/1.806, allocations: 7.844 kB / 1.362 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/1.809, allocations: 0.809 MB / 1.363 GB, free: 195.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008284/1.817, allocations: 0.7764 MB / 1.364 GB, free: 195.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/1.833, allocations: 6.992 MB / 1.37 GB, free: 190.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007009/1.84, allocations: 0.5591 MB / 1.371 GB, free: 190.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.841, allocations: 126.8 kB / 1.371 GB, free: 190.2 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.003803/1.845, allocations: 1.007 MB / 1.372 GB, free: 189.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.846, allocations: 298.7 kB / 1.372 GB, free: 189.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02277/1.869, allocations: 6.282 MB / 1.379 GB, free: 184 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/1.869, allocations: 32 kB / 1.379 GB, free: 184 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.869, allocations: 8 kB / 1.379 GB, free: 184 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-05/1.869, allocations: 15.42 kB / 1.379 GB, free: 184 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03014/1.899, allocations: 10.55 MB / 1.389 GB, free: 173.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.899, allocations: 0.5938 kB / 1.389 GB, free: 173.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007411/1.907, allocations: 0.7358 MB / 1.39 GB, free: 172.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003002/1.91, allocations: 0.7332 MB / 1.39 GB, free: 172 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005327/1.91, allocations: 90.5 kB / 1.39 GB, free: 171.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/1.925, allocations: 9.76 MB / 1.4 GB, free: 161.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.925, allocations: 0.9688 kB / 1.4 GB, free: 161.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02959/1.954, allocations: 8.88 MB / 1.409 GB, free: 152.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003024/1.957, allocations: 0.9414 MB / 1.41 GB, free: 151.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009654/1.958, allocations: 60 kB / 1.41 GB, free: 151.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005495/1.964, allocations: 412.8 kB / 1.41 GB, free: 151.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006174/1.965, allocations: 211.5 kB / 1.41 GB, free: 151.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003941/1.965, allocations: 107.9 kB / 1.41 GB, free: 151.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003224/1.968, allocations: 1.843 MB / 1.412 GB, free: 149.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/1.968, allocations: 1.188 kB / 1.412 GB, free: 149.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004571/1.973, allocations: 1.217 MB / 1.413 GB, free: 148.1 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.03234/2.005, allocations: 10.36 MB / 1.423 GB, free: 138.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01928/2.025, allocations: 5.585 MB / 1.429 GB, free: 132.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/2.025, allocations: 7.812 kB / 1.429 GB, free: 132.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01044/2.035, allocations: 3.251 MB / 1.432 GB, free: 129.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005045/2.04, allocations: 0.6499 MB / 1.433 GB, free: 128.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0754/2.116, allocations: 28.23 MB / 1.46 GB, free: 99.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002733/2.118, allocations: 2.729 MB / 1.463 GB, free: 96.63 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.007308/2.126, allocations: 1.154 MB / 1.464 GB, free: 95.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003781/2.13, allocations: 1.577 MB / 1.466 GB, free: 93.96 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/2.13, allocations: 0 / 1.466 GB, free: 93.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1921/2.322, allocations: 78.14 MB / 1.542 GB, free: 17.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/2.322, allocations: 318.7 kB / 1.542 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.026/8.348, allocations: 0 / 1.542 GB, free: 17.23 MB / 0.7292 GB