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.315/2.315, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001419/0.001418, allocations: 180.3 kB / 315.4 MB, free: 3.996 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.249/2.249, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 90.52 kB / 0.6704 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.081e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2051, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.11/15.31, allocations: 4.605 GB / 5.489 GB, free: 73.07 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/15.31, allocations: 84.38 kB / 5.489 GB, free: 73.03 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1152/15.43, allocations: 35.85 MB / 5.524 GB, free: 39.24 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/15.43, allocations: 3.938 kB / 5.524 GB, free: 39.23 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.242e-06/15.43, allocations: 0 / 5.524 GB, free: 39.23 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.0003263/15.43, allocations: 350.5 kB / 5.525 GB, free: 38.85 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/15.43, allocations: 8.031 kB / 5.525 GB, free: 38.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/15.43, allocations: 11.98 kB / 5.525 GB, free: 38.83 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.798e-05/15.43, allocations: 159.1 kB / 5.525 GB, free: 38.63 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/15.43, allocations: 4 kB / 5.525 GB, free: 38.63 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/15.43, allocations: 8 kB / 5.525 GB, free: 38.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.255e-05/15.43, allocations: 19.88 kB / 5.525 GB, free: 38.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/15.43, allocations: 41.69 kB / 5.525 GB, free: 38.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/15.43, allocations: 0 / 5.525 GB, free: 38.55 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/15.43, allocations: 4 kB / 5.525 GB, free: 38.55 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/15.43, allocations: 4 kB / 5.525 GB, free: 38.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/15.43, allocations: 146 kB / 5.525 GB, free: 38.37 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.625e-05/15.43, allocations: 42.58 kB / 5.525 GB, free: 38.32 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/15.43, allocations: 12.84 kB / 5.525 GB, free: 38.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/15.43, allocations: 4 kB / 5.525 GB, free: 38.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/15.43, allocations: 42.5 kB / 5.525 GB, free: 38.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/15.43, allocations: 0 / 5.525 GB, free: 38.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0007479/15.43, allocations: 326.4 kB / 5.526 GB, free: 37.88 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/15.43, allocations: 51.41 kB / 5.526 GB, free: 37.81 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.711e-05/15.43, allocations: 88.98 kB / 5.526 GB, free: 37.72 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/15.43, allocations: 29.7 kB / 5.526 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.889e-05/15.43, allocations: 84.27 kB / 5.526 GB, free: 37.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/15.43, allocations: 47.3 kB / 5.526 GB, free: 37.55 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/15.43, allocations: 0 / 5.526 GB, free: 37.55 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.593e-05/15.43, allocations: 310.8 kB / 5.526 GB, free: 37.24 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/15.43, allocations: 20.06 kB / 5.526 GB, free: 37.22 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/15.43, allocations: 26.22 kB / 5.526 GB, free: 37.19 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/15.43, allocations: 32.28 kB / 5.526 GB, free: 37.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/15.43, allocations: 0 / 5.526 GB, free: 37.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001506/15.43, allocations: 81.61 kB / 5.526 GB, free: 37.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/15.43, allocations: 11.94 kB / 5.526 GB, free: 37.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/15.43, allocations: 3.984 kB / 5.526 GB, free: 37.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/15.43, allocations: 3.953 kB / 5.526 GB, free: 37.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/15.43, allocations: 20 kB / 5.526 GB, free: 37.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/15.43, allocations: 0 / 5.526 GB, free: 37.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/15.43, allocations: 4 kB / 5.526 GB, free: 37.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/15.43, allocations: 8 kB / 5.526 GB, free: 37.02 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 6.026e-05/15.43, allocations: 104.9 kB / 5.526 GB, free: 36.91 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001185/15.43, allocations: 73.58 kB / 5.527 GB, free: 36.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/15.43, allocations: 11.95 kB / 5.527 GB, free: 36.82 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/15.43, allocations: 12.34 kB / 5.527 GB, free: 36.81 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/15.43, allocations: 4 kB / 5.527 GB, free: 36.81 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/15.43, allocations: 0 / 5.527 GB, free: 36.81 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/15.43, allocations: 0 / 5.527 GB, free: 36.81 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/15.43, allocations: 146.2 kB / 5.527 GB, free: 36.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/15.43, allocations: 0 / 5.527 GB, free: 36.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/15.43, allocations: 19.94 kB / 5.527 GB, free: 36.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/15.43, allocations: 7.938 kB / 5.527 GB, free: 36.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/15.43, allocations: 0 / 5.527 GB, free: 36.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/15.43, allocations: 7.953 kB / 5.527 GB, free: 36.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/15.43, allocations: 3.984 kB / 5.527 GB, free: 36.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/15.43, allocations: 117 kB / 5.527 GB, free: 36.46 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/15.43, allocations: 85.14 kB / 5.527 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/15.43, allocations: 0 / 5.527 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/15.43, allocations: 0 / 5.527 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/15.43, allocations: 12.03 kB / 5.527 GB, free: 36.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/15.43, allocations: 12 kB / 5.527 GB, free: 36.33 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.011e-05/15.43, allocations: 75.28 kB / 5.527 GB, free: 36.26 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.344e-06/15.43, allocations: 0 / 5.527 GB, free: 36.26 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003432/15.43, allocations: 43.92 kB / 5.527 GB, free: 36.21 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.001175/15.43, allocations: 1.226 MB / 5.528 GB, free: 34.97 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001445/15.43, allocations: 47.88 kB / 5.528 GB, free: 34.92 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/15.43, allocations: 0 / 5.528 GB, free: 34.92 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-05/15.43, allocations: 20 kB / 5.528 GB, free: 34.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/15.43, allocations: 12.41 kB / 5.528 GB, free: 34.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007397/15.43, allocations: 330 kB / 5.529 GB, free: 34.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/15.44, allocations: 0.6846 MB / 5.529 GB, free: 33.81 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001084/15.44, allocations: 12.66 kB / 5.529 GB, free: 33.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/15.44, allocations: 19.44 kB / 5.529 GB, free: 33.78 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/15.44, allocations: 0 / 5.529 GB, free: 33.78 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/15.48, allocations: 5.717 MB / 5.535 GB, free: 28.06 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/15.48, allocations: 165.8 kB / 5.535 GB, free: 27.86 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/18.03, allocations: 0 / 5.535 GB, free: 27.86 MB / 0.8698 GB