Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 248.5 MB / 261 MB, free: 5.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 174.7 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.2 MB / 0.571 GB, free: 11.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 86.5 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.841e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2107, allocations: 106.2 MB / 0.8907 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.421/7.631, allocations: 2.208 GB / 3.098 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/7.632, allocations: 76.08 kB / 3.098 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1004/7.732, allocations: 29.61 MB / 3.127 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.993e-06/7.732, allocations: 0 / 3.127 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.064e-06/7.732, allocations: 0 / 3.127 GB, free: 100.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004697/7.733, allocations: 378.4 kB / 3.128 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/7.733, allocations: 8.031 kB / 3.128 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/7.733, allocations: 50.48 kB / 3.128 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/7.733, allocations: 35.86 kB / 3.128 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/7.733, allocations: 170.9 kB / 3.128 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/7.733, allocations: 11.98 kB / 3.128 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/7.733, allocations: 8 kB / 3.128 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/7.734, allocations: 69.67 kB / 3.128 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/7.734, allocations: 0 / 3.128 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/7.734, allocations: 7.953 kB / 3.128 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/7.734, allocations: 3.938 kB / 3.128 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/7.734, allocations: 43.97 kB / 3.128 GB, free: 100 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/7.734, allocations: 185.5 kB / 3.128 GB, free: 99.81 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/7.734, allocations: 82.66 kB / 3.128 GB, free: 99.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/7.734, allocations: 24.86 kB / 3.128 GB, free: 99.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/7.735, allocations: 186.2 kB / 3.129 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/7.735, allocations: 34.56 kB / 3.129 GB, free: 99.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/7.735, allocations: 0 / 3.129 GB, free: 99.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001636/7.736, allocations: 0.5231 MB / 3.129 GB, free: 98.86 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/7.736, allocations: 55.41 kB / 3.129 GB, free: 98.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/7.736, allocations: 88.98 kB / 3.129 GB, free: 98.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/7.736, allocations: 33.7 kB / 3.129 GB, free: 98.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/7.737, allocations: 80.52 kB / 3.129 GB, free: 98.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.136e-05/7.737, allocations: 67.02 kB / 3.129 GB, free: 98.51 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/7.737, allocations: 4 kB / 3.129 GB, free: 98.51 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.406e-05/7.737, allocations: 318.8 kB / 3.13 GB, free: 98.19 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/7.737, allocations: 36.12 kB / 3.13 GB, free: 98.15 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/7.737, allocations: 64.03 kB / 3.13 GB, free: 98.08 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/7.737, allocations: 59.94 kB / 3.13 GB, free: 98.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/7.737, allocations: 0 / 3.13 GB, free: 98.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003285/7.737, allocations: 145.5 kB / 3.13 GB, free: 97.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/7.737, allocations: 7.984 kB / 3.13 GB, free: 97.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/7.737, allocations: 4 kB / 3.13 GB, free: 97.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/7.737, allocations: 4 kB / 3.13 GB, free: 97.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/7.738, allocations: 39.92 kB / 3.13 GB, free: 97.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/7.738, allocations: 7.953 kB / 3.13 GB, free: 97.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/7.738, allocations: 4 kB / 3.13 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/7.738, allocations: 4 kB / 3.13 GB, free: 97.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/7.738, allocations: 116.9 kB / 3.13 GB, free: 97.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/7.738, allocations: 7.906 kB / 3.13 GB, free: 97.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/7.738, allocations: 20.22 kB / 3.13 GB, free: 97.66 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/7.738, allocations: 3.938 kB / 3.13 GB, free: 97.65 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/7.738, allocations: 4 kB / 3.13 GB, free: 97.65 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/7.738, allocations: 7.938 kB / 3.13 GB, free: 97.64 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/7.738, allocations: 193.6 kB / 3.13 GB, free: 97.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/7.738, allocations: 0 / 3.13 GB, free: 97.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/7.739, allocations: 39.98 kB / 3.13 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/7.739, allocations: 0 / 3.13 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/7.739, allocations: 4 kB / 3.13 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/7.739, allocations: 0 / 3.13 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/7.739, allocations: 0 / 3.13 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/7.739, allocations: 213.2 kB / 3.131 GB, free: 97.13 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/7.739, allocations: 89 kB / 3.131 GB, free: 97.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/7.739, allocations: 8.312 kB / 3.131 GB, free: 97.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/7.74, allocations: 12 kB / 3.131 GB, free: 97.01 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/7.74, allocations: 7.984 kB / 3.131 GB, free: 97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/7.74, allocations: 4 kB / 3.131 GB, free: 97 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.202e-05/7.74, allocations: 83.23 kB / 3.131 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.81e-07/7.74, allocations: 4 kB / 3.131 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004495/7.74, allocations: 68.02 kB / 3.131 GB, free: 96.84 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001386/7.742, allocations: 1.194 MB / 3.132 GB, free: 95.64 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002938/7.742, allocations: 104.1 kB / 3.132 GB, free: 95.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/7.742, allocations: 0 / 3.132 GB, free: 95.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/7.742, allocations: 47.94 kB / 3.132 GB, free: 95.49 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/7.742, allocations: 15.98 kB / 3.132 GB, free: 95.47 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/7.743, allocations: 0.5125 MB / 3.133 GB, free: 94.92 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/7.744, allocations: 0.7089 MB / 3.133 GB, free: 94.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002179/7.744, allocations: 20.7 kB / 3.133 GB, free: 94.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/7.744, allocations: 27.42 kB / 3.133 GB, free: 94.13 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/7.744, allocations: 4 kB / 3.134 GB, free: 94.13 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/7.781, allocations: 12.82 MB / 3.146 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/7.782, allocations: 152.5 kB / 3.146 GB, free: 81.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/10.72, allocations: 0 / 3.146 GB, free: 81.16 MB / 0.8698 GB