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.01083/0.01083, allocations: 112 kB / 15.06 MB, free: 6.035 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.001205/0.001205, allocations: 180 kB / 15.95 MB, free: 5.949 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.178/2.178, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.437/2.437, allocations: 236.2 MB / 492.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004807, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7115/0.7121, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.2551/0.9673, allocations: 130.4 MB / 0.8107 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0624/1.03, allocations: 19.51 MB / 0.8298 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004517/1.034, allocations: 51.75 kB / 0.8298 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005239/1.04, allocations: 0.8634 MB / 0.8307 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008914/1.049, allocations: 1.765 MB / 0.8324 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007241/1.056, allocations: 1.431 MB / 0.8338 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009403/1.065, allocations: 3.557 MB / 0.8373 GB, free: 484 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007586/1.073, allocations: 3.242 MB / 0.8404 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0043/1.077, allocations: 1.506 MB / 0.8419 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004984/1.082, allocations: 1.91 MB / 0.8438 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001329/1.084, allocations: 140 kB / 0.8439 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/1.087, allocations: 0.5619 MB / 0.8445 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001998/1.089, allocations: 0.8289 MB / 0.8453 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/1.091, allocations: 0.7456 MB / 0.846 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009603/1.101, allocations: 4.976 MB / 0.8509 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.101, allocations: 4 kB / 0.8509 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.265e-06/1.101, allocations: 0 / 0.8509 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002463/1.101, allocations: 0 / 0.8509 GB, free: 2.48 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.0164/1.117, allocations: 4.371 MB / 0.8551 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.117, allocations: 11.97 kB / 0.8551 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00207/1.12, allocations: 0.498 MB / 0.8556 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02648/1.146, allocations: 2.889 MB / 0.8584 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008163/1.154, allocations: 2.314 MB / 0.8607 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/1.155, allocations: 275.3 kB / 0.861 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/1.157, allocations: 364 kB / 0.8613 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/1.182, allocations: 5.587 MB / 0.8668 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/1.182, allocations: 15.83 kB / 0.8668 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001393/1.183, allocations: 148 kB / 0.8669 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.183, allocations: 95.94 kB / 0.867 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03124/1.215, allocations: 6.794 MB / 0.8737 GB, free: 10.88 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.05642/1.271, allocations: 17.21 MB / 0.8905 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02063/1.292, allocations: 4.595 MB / 0.8949 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00174/1.294, allocations: 0.6738 MB / 0.8956 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01243/1.306, allocations: 2.678 MB / 0.8982 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=313): time 1.011e-05/1.306, allocations: 0 / 0.8982 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=313): time 0.05242/1.359, allocations: 9.516 MB / 0.9075 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/1.359, allocations: 188.7 kB / 0.9077 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006493/1.365, allocations: 2.574 MB / 0.9102 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001106/1.366, allocations: 77.7 kB / 0.9103 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002453/1.369, allocations: 1.486 MB / 0.9117 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002434/1.371, allocations: 1.04 MB / 0.9127 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006954/1.372, allocations: 56 kB / 0.9128 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000394/1.373, allocations: 415.6 kB / 0.9132 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6133/1.986, allocations: 2.135 MB / 0.9153 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01148/1.997, allocations: 2.481 MB / 0.9177 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/2.009, allocations: 2.399 MB / 0.92 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/2.009, allocations: 0.75 kB / 0.92 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.02938/2.039, allocations: 5.861 MB / 0.9258 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/2.039, allocations: 91.39 kB / 0.9259 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/2.039, allocations: 4.391 kB / 0.9259 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/2.042, allocations: 0.8063 MB / 0.9266 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008621/2.051, allocations: 0.7734 MB / 0.9274 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/2.071, allocations: 7.239 MB / 0.9345 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007536/2.078, allocations: 0.5607 MB / 0.935 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/2.08, allocations: 121.5 kB / 0.9351 GB, free: 199.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.004447/2.084, allocations: 1.013 MB / 0.9361 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/2.086, allocations: 297.6 kB / 0.9364 GB, free: 198.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03037/2.116, allocations: 6.277 MB / 0.9425 GB, free: 196.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.06e-05/2.116, allocations: 31.69 kB / 0.9426 GB, free: 196.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.268e-05/2.116, allocations: 15.91 kB / 0.9426 GB, free: 196.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-05/2.116, allocations: 12.94 kB / 0.9426 GB, free: 196.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04038/2.157, allocations: 10.56 MB / 0.9529 GB, free: 190.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-05/2.157, allocations: 3.984 kB / 0.9529 GB, free: 190.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007995/2.165, allocations: 0.7279 MB / 0.9536 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/2.168, allocations: 0.7367 MB / 0.9543 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/2.17, allocations: 87.98 kB / 0.9544 GB, free: 189.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/2.187, allocations: 10.01 MB / 0.9642 GB, free: 181.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/2.187, allocations: 6.078 kB / 0.9642 GB, free: 181.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03498/2.222, allocations: 8.879 MB / 0.9729 GB, free: 173.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003623/2.226, allocations: 0.9453 MB / 0.9738 GB, free: 172.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/2.228, allocations: 67.73 kB / 0.9739 GB, free: 172.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006883/2.235, allocations: 420 kB / 0.9743 GB, free: 172.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001387/2.236, allocations: 206.2 kB / 0.9745 GB, free: 172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008942/2.237, allocations: 107.9 kB / 0.9746 GB, free: 171.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004532/2.242, allocations: 1.863 MB / 0.9764 GB, free: 170 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.92e-07/2.242, allocations: 0 / 0.9764 GB, free: 170 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006532/2.248, allocations: 1.212 MB / 0.9776 GB, free: 168.9 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.03848/2.287, allocations: 10.38 MB / 0.9877 GB, free: 158.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02213/2.309, allocations: 5.592 MB / 0.9932 GB, free: 153.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/2.309, allocations: 0 / 0.9932 GB, free: 153.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01216/2.321, allocations: 3.257 MB / 0.9963 GB, free: 149.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005657/2.327, allocations: 0.5975 MB / 0.9969 GB, free: 149.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0351/2.362, allocations: 15.17 MB / 1.012 GB, free: 133.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004494/2.367, allocations: 2.725 MB / 1.014 GB, free: 130.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.009316/2.376, allocations: 1.156 MB / 1.016 GB, free: 129.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004965/2.381, allocations: 1.585 MB / 1.017 GB, free: 128 MB / 0.7292 GB Notification: Performance of SimCode: time 1.243e-06/2.381, allocations: 0 / 1.017 GB, free: 128 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2109/2.592, allocations: 77.33 MB / 1.093 GB, free: 51.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/2.592, allocations: 315.5 kB / 1.093 GB, free: 50.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.447/9.039, allocations: 0 / 1.093 GB, free: 50.88 MB / 0.7292 GB