Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 249.5 MB / 257 MB, free: 6.965 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.001021/0.00102, allocations: 192.2 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0009236/0.0009238, allocations: 86.52 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.804e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.24/12.46, allocations: 4.605 GB / 5.491 GB, free: 81.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004419/12.46, allocations: 81.7 kB / 5.491 GB, free: 81.69 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06759/12.53, allocations: 35.84 MB / 5.526 GB, free: 48.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.214e-06/12.53, allocations: 0 / 5.526 GB, free: 48.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.152e-06/12.53, allocations: 0 / 5.526 GB, free: 48.21 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.0003242/12.53, allocations: 346.5 kB / 5.526 GB, free: 47.83 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/12.53, allocations: 12.03 kB / 5.526 GB, free: 47.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/12.53, allocations: 15.97 kB / 5.526 GB, free: 47.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/12.53, allocations: 163 kB / 5.526 GB, free: 47.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/12.53, allocations: 4 kB / 5.526 GB, free: 47.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/12.53, allocations: 11.91 kB / 5.526 GB, free: 47.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.984e-05/12.53, allocations: 11.98 kB / 5.526 GB, free: 47.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.79e-05/12.53, allocations: 45.64 kB / 5.526 GB, free: 47.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/12.53, allocations: 0 / 5.526 GB, free: 47.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/12.53, allocations: 0 / 5.526 GB, free: 47.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/12.53, allocations: 4 kB / 5.526 GB, free: 47.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/12.53, allocations: 146.2 kB / 5.527 GB, free: 47.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/12.53, allocations: 50.5 kB / 5.527 GB, free: 47.28 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/12.53, allocations: 8.859 kB / 5.527 GB, free: 47.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/12.53, allocations: 7.938 kB / 5.527 GB, free: 47.26 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/12.53, allocations: 30.56 kB / 5.527 GB, free: 47.22 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/12.53, allocations: 0 / 5.527 GB, free: 47.22 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.000562/12.53, allocations: 330.2 kB / 5.527 GB, free: 46.85 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/12.53, allocations: 51.41 kB / 5.527 GB, free: 46.79 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.245e-05/12.53, allocations: 92.98 kB / 5.527 GB, free: 46.69 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/12.53, allocations: 29.64 kB / 5.527 GB, free: 46.65 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.355e-05/12.53, allocations: 80.14 kB / 5.527 GB, free: 46.57 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/12.53, allocations: 47.42 kB / 5.527 GB, free: 46.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/12.53, allocations: 4 kB / 5.527 GB, free: 46.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.716e-05/12.53, allocations: 310.8 kB / 5.528 GB, free: 46.21 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/12.53, allocations: 16.06 kB / 5.528 GB, free: 46.19 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/12.53, allocations: 29.72 kB / 5.528 GB, free: 46.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/12.53, allocations: 32.2 kB / 5.528 GB, free: 46.12 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/12.53, allocations: 3.938 kB / 5.528 GB, free: 46.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.622e-05/12.53, allocations: 78.06 kB / 5.528 GB, free: 46.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/12.53, allocations: 7.984 kB / 5.528 GB, free: 46.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/12.53, allocations: 8 kB / 5.528 GB, free: 46.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/12.53, allocations: 0 / 5.528 GB, free: 46.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/12.53, allocations: 31.83 kB / 5.528 GB, free: 45.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/12.53, allocations: 0 / 5.528 GB, free: 45.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/12.53, allocations: 0 / 5.528 GB, free: 45.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/12.53, allocations: 4 kB / 5.528 GB, free: 45.99 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.129e-05/12.53, allocations: 105 kB / 5.528 GB, free: 45.88 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.567e-05/12.53, allocations: 69.58 kB / 5.528 GB, free: 45.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/12.53, allocations: 4 kB / 5.528 GB, free: 45.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/12.53, allocations: 20.36 kB / 5.528 GB, free: 45.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/12.53, allocations: 4 kB / 5.528 GB, free: 45.78 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/12.53, allocations: 3.938 kB / 5.528 GB, free: 45.78 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/12.53, allocations: 0 / 5.528 GB, free: 45.78 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/12.53, allocations: 146.2 kB / 5.528 GB, free: 45.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/12.53, allocations: 0 / 5.528 GB, free: 45.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/12.53, allocations: 20 kB / 5.528 GB, free: 45.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/12.53, allocations: 0 / 5.528 GB, free: 45.58 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/12.53, allocations: 0 / 5.528 GB, free: 45.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/12.53, allocations: 0 / 5.528 GB, free: 45.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/12.53, allocations: 11.88 kB / 5.528 GB, free: 45.57 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/12.53, allocations: 121 kB / 5.528 GB, free: 45.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/12.53, allocations: 85.14 kB / 5.528 GB, free: 45.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/12.53, allocations: 0 / 5.528 GB, free: 45.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/12.53, allocations: 0 / 5.528 GB, free: 45.33 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/12.53, allocations: 15.88 kB / 5.528 GB, free: 45.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/12.53, allocations: 4 kB / 5.528 GB, free: 45.31 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.126e-05/12.53, allocations: 83.28 kB / 5.528 GB, free: 45.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/12.53, allocations: 0 / 5.528 GB, free: 45.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002746/12.53, allocations: 39.98 kB / 5.528 GB, free: 45.19 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.0008665/12.53, allocations: 1.225 MB / 5.53 GB, free: 43.94 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.994e-05/12.53, allocations: 43.94 kB / 5.53 GB, free: 43.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/12.53, allocations: 3.938 kB / 5.53 GB, free: 43.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/12.53, allocations: 31.88 kB / 5.53 GB, free: 43.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/12.53, allocations: 7.938 kB / 5.53 GB, free: 43.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/12.54, allocations: 318.9 kB / 5.53 GB, free: 43.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/12.54, allocations: 0.6924 MB / 5.531 GB, free: 42.78 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.581e-05/12.54, allocations: 8.672 kB / 5.531 GB, free: 42.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/12.54, allocations: 23.44 kB / 5.531 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/12.54, allocations: 0 / 5.531 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/12.56, allocations: 5.721 MB / 5.536 GB, free: 37.03 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/12.56, allocations: 165.9 kB / 5.536 GB, free: 36.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/14.26, allocations: 0 / 5.536 GB, free: 36.84 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)