Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.6 MB / 307.5 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 189 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 0.6366 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009609/0.0009606, allocations: 88.36 kB / 0.7509 GB, free: 63.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.48/11.71, allocations: 4.612 GB / 5.601 GB, free: 185.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/11.71, allocations: 88.66 kB / 5.601 GB, free: 185 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06591/11.78, allocations: 36.56 MB / 5.637 GB, free: 148.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.514e-06/11.78, allocations: 0 / 5.637 GB, free: 148.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.742e-06/11.78, allocations: 3.938 kB / 5.637 GB, free: 148.2 MB / 0.948 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.0003527/11.78, allocations: 352.9 kB / 5.637 GB, free: 147.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/11.78, allocations: 16.02 kB / 5.637 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/11.78, allocations: 34.5 kB / 5.637 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/11.78, allocations: 16.67 kB / 5.637 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/11.78, allocations: 159.1 kB / 5.637 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/11.78, allocations: 12 kB / 5.637 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/11.78, allocations: 8 kB / 5.637 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/11.78, allocations: 49.67 kB / 5.637 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/11.78, allocations: 1.031 kB / 5.637 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/11.78, allocations: 7.953 kB / 5.637 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/11.78, allocations: 0 / 5.637 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/11.78, allocations: 11.98 kB / 5.637 GB, free: 147.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/11.78, allocations: 177.5 kB / 5.637 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.907e-05/11.78, allocations: 52.05 kB / 5.637 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/11.78, allocations: 3.984 kB / 5.637 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/11.78, allocations: 34.56 kB / 5.637 GB, free: 147.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/11.78, allocations: 0 / 5.637 GB, free: 147.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0007106/11.78, allocations: 372.7 kB / 5.638 GB, free: 146.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/11.78, allocations: 63.34 kB / 5.638 GB, free: 146.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.618e-05/11.78, allocations: 89.83 kB / 5.638 GB, free: 146.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/11.78, allocations: 25.7 kB / 5.638 GB, free: 146.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.609e-05/11.78, allocations: 84.14 kB / 5.638 GB, free: 146.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/11.78, allocations: 39.41 kB / 5.638 GB, free: 146.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/11.78, allocations: 0 / 5.638 GB, free: 146.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.479e-05/11.78, allocations: 318.8 kB / 5.638 GB, free: 146.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/11.78, allocations: 19.98 kB / 5.638 GB, free: 146 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/11.78, allocations: 37.83 kB / 5.638 GB, free: 146 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/11.78, allocations: 20.06 kB / 5.638 GB, free: 146 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/11.78, allocations: 0.9375 kB / 5.638 GB, free: 146 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001131/11.78, allocations: 102 kB / 5.639 GB, free: 145.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/11.78, allocations: 4.781 kB / 5.639 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/11.78, allocations: 4 kB / 5.639 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/11.78, allocations: 3.953 kB / 5.639 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/11.78, allocations: 23.98 kB / 5.639 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/11.78, allocations: 4 kB / 5.639 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/11.78, allocations: 4 kB / 5.639 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/11.78, allocations: 4 kB / 5.639 GB, free: 145.8 MB / 0.948 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 5.713e-05/11.78, allocations: 121.7 kB / 5.639 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/11.78, allocations: 5.031 kB / 5.639 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/11.78, allocations: 11.97 kB / 5.639 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/11.78, allocations: 4 kB / 5.639 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/11.78, allocations: 3.953 kB / 5.639 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/11.78, allocations: 3.984 kB / 5.639 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.1e-05/11.78, allocations: 161.7 kB / 5.639 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/11.78, allocations: 8 kB / 5.639 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/11.78, allocations: 19.98 kB / 5.639 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/11.78, allocations: 0 / 5.639 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/11.78, allocations: 8 kB / 5.639 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/11.78, allocations: 0 / 5.639 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/11.78, allocations: 0.8438 kB / 5.639 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/11.78, allocations: 136.8 kB / 5.639 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/11.78, allocations: 85.11 kB / 5.639 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/11.78, allocations: 4 kB / 5.639 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/11.78, allocations: 8.031 kB / 5.639 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/11.78, allocations: 8 kB / 5.639 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/11.78, allocations: 8 kB / 5.639 GB, free: 145.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.101e-05/11.78, allocations: 79.23 kB / 5.639 GB, free: 145.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/11.78, allocations: 0 / 5.639 GB, free: 145.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003109/11.78, allocations: 53.02 kB / 5.639 GB, free: 145 MB / 0.948 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.0008951/11.79, allocations: 1.136 MB / 5.64 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001374/11.79, allocations: 47.92 kB / 5.64 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/11.79, allocations: 4 kB / 5.64 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/11.79, allocations: 27.98 kB / 5.64 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/11.79, allocations: 8 kB / 5.64 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008283/11.79, allocations: 0.8364 MB / 5.641 GB, free: 142.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/11.79, allocations: 0.6965 MB / 5.642 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.859e-05/11.79, allocations: 8.672 kB / 5.642 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/11.79, allocations: 19.48 kB / 5.642 GB, free: 142.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/11.79, allocations: 0 / 5.642 GB, free: 142.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/11.81, allocations: 10.84 MB / 5.653 GB, free: 131.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/11.81, allocations: 198.3 kB / 5.653 GB, free: 131.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/13.68, allocations: 0 / 5.653 GB, free: 131.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)