Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.242/2.242, allocations: 248.5 MB / 261.1 MB, free: 5.93 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.001382/0.001382, allocations: 178.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001099/0.001099, allocations: 101.9 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.877e-05/4.888e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2202, allocations: 106.2 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.76/14.98, allocations: 4.605 GB / 5.496 GB, free: 33.86 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/14.98, allocations: 83.95 kB / 5.496 GB, free: 33.78 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7295/15.71, allocations: 36.49 MB / 5.531 GB, free: 297.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.513e-06/15.71, allocations: 0 / 5.531 GB, free: 297.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.454e-06/15.71, allocations: 1.094 kB / 5.531 GB, free: 297.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003848/15.71, allocations: 348.8 kB / 5.532 GB, free: 297.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/15.71, allocations: 9.188 kB / 5.532 GB, free: 297.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/15.71, allocations: 32.39 kB / 5.532 GB, free: 297.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/15.71, allocations: 17.86 kB / 5.532 GB, free: 297.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.013e-05/15.71, allocations: 160.8 kB / 5.532 GB, free: 297 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/15.71, allocations: 1.75 kB / 5.532 GB, free: 297 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/15.71, allocations: 4.875 kB / 5.532 GB, free: 297 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/15.71, allocations: 54.44 kB / 5.532 GB, free: 297 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/15.71, allocations: 0 / 5.532 GB, free: 297 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/15.71, allocations: 1.125 kB / 5.532 GB, free: 297 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/15.71, allocations: 1.859 kB / 5.532 GB, free: 297 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/15.71, allocations: 25.48 kB / 5.532 GB, free: 297 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/15.71, allocations: 177.7 kB / 5.532 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/15.71, allocations: 45.91 kB / 5.532 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/15.71, allocations: 16.55 kB / 5.532 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/15.71, allocations: 1.438 kB / 5.532 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/15.71, allocations: 32.33 kB / 5.532 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/15.71, allocations: 0 / 5.532 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0009293/15.71, allocations: 356 kB / 5.533 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/15.71, allocations: 53.17 kB / 5.533 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/15.71, allocations: 91.73 kB / 5.533 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/15.71, allocations: 26.64 kB / 5.533 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/15.71, allocations: 82.64 kB / 5.533 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/15.71, allocations: 47.66 kB / 5.533 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/15.71, allocations: 0 / 5.533 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/15.71, allocations: 323.2 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/15.71, allocations: 15.09 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/15.71, allocations: 41.38 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/15.71, allocations: 23.58 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/15.71, allocations: 2.812 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002055/15.71, allocations: 97.12 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/15.71, allocations: 8.75 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/15.71, allocations: 0 / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/15.71, allocations: 1.062 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/15.71, allocations: 21.83 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/15.71, allocations: 5.391 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/15.71, allocations: 5.031 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/15.71, allocations: 4.5 kB / 5.533 GB, free: 295.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.746e-05/15.71, allocations: 112 kB / 5.534 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/15.71, allocations: 7.312 kB / 5.534 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/15.71, allocations: 8.828 kB / 5.534 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/15.71, allocations: 2.219 kB / 5.534 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/15.71, allocations: 2.625 kB / 5.534 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/15.71, allocations: 1.891 kB / 5.534 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/15.71, allocations: 176.4 kB / 5.534 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/15.71, allocations: 0 / 5.534 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/15.71, allocations: 21.73 kB / 5.534 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/15.71, allocations: 3.844 kB / 5.534 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/15.71, allocations: 5.547 kB / 5.534 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/15.71, allocations: 3.75 kB / 5.534 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/15.71, allocations: 0 / 5.534 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/15.71, allocations: 127.7 kB / 5.534 GB, free: 295.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/15.71, allocations: 91.78 kB / 5.534 GB, free: 295.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/15.71, allocations: 3.281 kB / 5.534 GB, free: 295.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/15.71, allocations: 3.625 kB / 5.534 GB, free: 295.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/15.71, allocations: 9.109 kB / 5.534 GB, free: 295.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/15.71, allocations: 4 kB / 5.534 GB, free: 295.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.621e-05/15.71, allocations: 78.47 kB / 5.534 GB, free: 295.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/15.71, allocations: 0.8125 kB / 5.534 GB, free: 295.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004133/15.72, allocations: 52.64 kB / 5.534 GB, free: 295.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001378/15.72, allocations: 1.141 MB / 5.535 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002201/15.72, allocations: 64.02 kB / 5.535 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/15.72, allocations: 0 / 5.535 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/15.72, allocations: 29.23 kB / 5.535 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/15.72, allocations: 3.547 kB / 5.535 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/15.72, allocations: 332.5 kB / 5.536 GB, free: 294.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/15.72, allocations: 0.6915 MB / 5.536 GB, free: 293.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001155/15.72, allocations: 9.312 kB / 5.536 GB, free: 293.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/15.72, allocations: 16.83 kB / 5.536 GB, free: 293.7 MB / 0.8698 GB Notification: Performance of SimCode: time 7.61e-07/15.72, allocations: 1.375 kB / 5.536 GB, free: 293.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/15.77, allocations: 12.64 MB / 5.549 GB, free: 293 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/15.77, allocations: 173.3 kB / 5.549 GB, free: 292.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/18.63, allocations: 0 / 5.549 GB, free: 292.7 MB / 0.8698 GB