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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="Buildings_6_0_0_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.01506/0.01507, allocations: 106.4 kB / 15.06 MB, free: 6.031 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.004339/0.004338, allocations: 180.4 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.012/2.012, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.391/2.391, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006727/0.0006728, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6978, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2248/0.9226, allocations: 128.6 MB / 0.809 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03888/0.9616, allocations: 18.8 MB / 0.8273 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.9645, allocations: 43.75 kB / 0.8274 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.9679, allocations: 0.7975 MB / 0.8282 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007278/0.9752, allocations: 1.554 MB / 0.8297 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006036/0.9813, allocations: 1.232 MB / 0.8309 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007675/0.989, allocations: 2.845 MB / 0.8337 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0061/0.9952, allocations: 2.816 MB / 0.8364 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.999, allocations: 1.3 MB / 0.8377 GB, free: 12 kB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004343/1.003, allocations: 1.626 MB / 0.8393 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001056/1.005, allocations: 108 kB / 0.8394 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/1.008, allocations: 0.5305 MB / 0.8399 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001551/1.009, allocations: 0.6927 MB / 0.8406 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/1.011, allocations: 0.6247 MB / 0.8412 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00814/1.019, allocations: 4.244 MB / 0.8453 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.019, allocations: 0 / 0.8453 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.196e-06/1.019, allocations: 0 / 0.8453 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001863/1.019, allocations: 0 / 0.8453 GB, free: 8.16 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.01407/1.033, allocations: 3.857 MB / 0.8491 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.033, allocations: 12.03 kB / 0.8491 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001864/1.035, allocations: 438.5 kB / 0.8495 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0258/1.061, allocations: 2.819 MB / 0.8523 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007203/1.068, allocations: 2.077 MB / 0.8543 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/1.069, allocations: 234.3 kB / 0.8545 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/1.07, allocations: 307.9 kB / 0.8548 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0266/1.097, allocations: 5.014 MB / 0.8597 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/1.097, allocations: 3.938 kB / 0.8597 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/1.098, allocations: 128 kB / 0.8598 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/1.098, allocations: 79.98 kB / 0.8599 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03765/1.136, allocations: 6.232 MB / 0.866 GB, free: 2.695 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.05025/1.186, allocations: 14.35 MB / 0.88 GB, free: 3.812 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02184/1.208, allocations: 4.723 MB / 0.8846 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/1.21, allocations: 0.6658 MB / 0.8853 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01062/1.22, allocations: 2.418 MB / 0.8876 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=268): time 7.414e-06/1.22, allocations: 0 / 0.8876 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=268): time 0.03722/1.258, allocations: 7.389 MB / 0.8948 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.258, allocations: 180.3 kB / 0.895 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005222/1.263, allocations: 2.317 MB / 0.8973 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009009/1.264, allocations: 73.7 kB / 0.8974 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001733/1.266, allocations: 1.301 MB / 0.8986 GB, free: 364 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00195/1.268, allocations: 0.8935 MB / 0.8995 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/1.268, allocations: 48.16 kB / 0.8995 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002938/1.268, allocations: 410.6 kB / 0.8999 GB, free: 15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009041/1.278, allocations: 1.933 MB / 0.9018 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009721/1.287, allocations: 2.232 MB / 0.904 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009691/1.297, allocations: 2.161 MB / 0.9061 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/1.297, allocations: 4 kB / 0.9061 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.02244/1.32, allocations: 5.018 MB / 0.911 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.32, allocations: 89.11 kB / 0.9111 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/1.32, allocations: 4 kB / 0.9111 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/1.321, allocations: 356.9 kB / 0.9114 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008438/1.33, allocations: 0.7878 MB / 0.9122 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5781/1.908, allocations: 3.996 MB / 0.9161 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00675/1.915, allocations: 0.5164 MB / 0.9166 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/1.916, allocations: 107.8 kB / 0.9167 GB, free: 206.5 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.00377/1.92, allocations: 0.9155 MB / 0.9176 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/1.921, allocations: 267.1 kB / 0.9179 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03356/1.954, allocations: 5.446 MB / 0.9232 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.777e-05/1.954, allocations: 30.66 kB / 0.9232 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-05/1.954, allocations: 5.391 kB / 0.9232 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.994e-05/1.955, allocations: 13.45 kB / 0.9232 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03647/1.991, allocations: 9.141 MB / 0.9322 GB, free: 201.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.162e-05/1.991, allocations: 2.562 kB / 0.9322 GB, free: 201.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00782/1.999, allocations: 0.7393 MB / 0.9329 GB, free: 201.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/2.001, allocations: 384.1 kB / 0.9333 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008264/2.002, allocations: 79.28 kB / 0.9333 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/2.012, allocations: 5.901 MB / 0.9391 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/2.013, allocations: 0 / 0.9391 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03289/2.045, allocations: 7.74 MB / 0.9467 GB, free: 193.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003311/2.049, allocations: 0.8656 MB / 0.9475 GB, free: 192.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/2.05, allocations: 48.22 kB / 0.9475 GB, free: 192.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005963/2.056, allocations: 393.5 kB / 0.9479 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/2.057, allocations: 172.3 kB / 0.9481 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005855/2.058, allocations: 100.4 kB / 0.9482 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004068/2.062, allocations: 1.682 MB / 0.9498 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.11e-07/2.062, allocations: 0 / 0.9498 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005207/2.067, allocations: 1.018 MB / 0.9508 GB, free: 191.2 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.03291/2.1, allocations: 9.212 MB / 0.9598 GB, free: 186.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01899/2.119, allocations: 4.889 MB / 0.9646 GB, free: 182.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/2.119, allocations: 0 / 0.9646 GB, free: 182.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/2.129, allocations: 2.707 MB / 0.9672 GB, free: 180 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/2.134, allocations: 0.511 MB / 0.9677 GB, free: 179.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/2.162, allocations: 13.53 MB / 0.9809 GB, free: 165.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/2.165, allocations: 2.475 MB / 0.9834 GB, free: 163.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00785/2.173, allocations: 1.095 MB / 0.9844 GB, free: 162.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004249/2.177, allocations: 1.386 MB / 0.9858 GB, free: 160.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.322e-06/2.177, allocations: 0 / 0.9858 GB, free: 160.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1549/2.332, allocations: 66.13 MB / 1.05 GB, free: 94.99 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/2.332, allocations: 312 kB / 1.051 GB, free: 94.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.835/8.168, allocations: 4 kB / 1.051 GB, free: 94.62 MB / 0.7292 GB