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.126/2.126, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 171.2 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.329/2.329, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001071/0.001071, allocations: 104.2 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004816, allocations: 13.28 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2115, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.13/15.35, allocations: 4.605 GB / 5.504 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/15.35, allocations: 85.75 kB / 5.504 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1193/15.47, allocations: 36.57 MB / 5.54 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.843e-06/15.47, allocations: 0 / 5.54 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.372e-06/15.47, allocations: 4 kB / 5.54 GB, free: 237.4 MB / 0.8855 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.0004066/15.47, allocations: 361.1 kB / 5.54 GB, free: 237 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/15.47, allocations: 7.219 kB / 5.54 GB, free: 237 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/15.47, allocations: 37.88 kB / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/15.47, allocations: 11.7 kB / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/15.47, allocations: 170.9 kB / 5.54 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/15.47, allocations: 0 / 5.54 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/15.47, allocations: 7.312 kB / 5.54 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/15.47, allocations: 59.62 kB / 5.54 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/15.47, allocations: 0 / 5.54 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/15.47, allocations: 0 / 5.54 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/15.47, allocations: 0 / 5.54 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.294e-05/15.47, allocations: 22.89 kB / 5.54 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/15.47, allocations: 162.9 kB / 5.54 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/15.47, allocations: 47.8 kB / 5.54 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/15.47, allocations: 7.812 kB / 5.541 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/15.47, allocations: 30.56 kB / 5.541 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/15.47, allocations: 0 / 5.541 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0008743/15.47, allocations: 373.1 kB / 5.541 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/15.47, allocations: 55.2 kB / 5.541 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.96e-05/15.47, allocations: 96.31 kB / 5.541 GB, free: 236 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/15.47, allocations: 25.7 kB / 5.541 GB, free: 236 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/15.47, allocations: 83.77 kB / 5.541 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/15.47, allocations: 38.66 kB / 5.541 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/15.47, allocations: 3.875 kB / 5.541 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.154e-05/15.47, allocations: 318.7 kB / 5.541 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/15.47, allocations: 18.89 kB / 5.542 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/15.47, allocations: 35.5 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/15.47, allocations: 27.22 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/15.47, allocations: 0 / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001772/15.47, allocations: 94.19 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/15.47, allocations: 7.641 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/15.47, allocations: 7.469 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/15.47, allocations: 3.891 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/15.47, allocations: 17.03 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/15.47, allocations: 3.438 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/15.47, allocations: 3.25 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/15.47, allocations: 3.438 kB / 5.542 GB, free: 235.5 MB / 0.8855 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 () * Number of clocked 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 8.286e-05/15.47, allocations: 131.2 kB / 5.542 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/15.47, allocations: 7.344 kB / 5.542 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/15.47, allocations: 11.42 kB / 5.542 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/15.47, allocations: 0 / 5.542 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/15.47, allocations: 0 / 5.542 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/15.47, allocations: 0 / 5.542 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/15.47, allocations: 173.2 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/15.47, allocations: 3.438 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/15.47, allocations: 21.11 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/15.47, allocations: 4 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/15.47, allocations: 3.375 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/15.47, allocations: 7.891 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/15.47, allocations: 3.469 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/15.47, allocations: 130.1 kB / 5.542 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/15.47, allocations: 84.92 kB / 5.542 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/15.47, allocations: 3.375 kB / 5.542 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/15.47, allocations: 7.844 kB / 5.542 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/15.47, allocations: 15.36 kB / 5.542 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/15.47, allocations: 0 / 5.542 GB, free: 235 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.771e-05/15.47, allocations: 82.94 kB / 5.542 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/15.47, allocations: 0 / 5.542 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004059/15.47, allocations: 48.25 kB / 5.542 GB, free: 234.9 MB / 0.8855 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 () * Number of clocked 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.001157/15.47, allocations: 1.136 MB / 5.544 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001888/15.47, allocations: 61.56 kB / 5.544 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/15.47, allocations: 0 / 5.544 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/15.47, allocations: 33.72 kB / 5.544 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/15.47, allocations: 3.953 kB / 5.544 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/15.47, allocations: 0.8206 MB / 5.544 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/15.47, allocations: 0.6877 MB / 5.545 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001165/15.47, allocations: 16.17 kB / 5.545 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/15.47, allocations: 18.78 kB / 5.545 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/15.47, allocations: 0 / 5.545 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/15.52, allocations: 10.85 MB / 5.556 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/15.52, allocations: 197.8 kB / 5.556 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/18.26, allocations: 3.219 kB / 5.556 GB, free: 227.8 MB / 0.8855 GB