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.407/1.407, allocations: 251.9 MB / 266.9 MB, free: 10.89 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.001174/0.001174, allocations: 178.9 kB / 326.5 MB, free: 2.262 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.729/1.729, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.000838/0.0008382, allocations: 92.27 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 6.5 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1878, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.21/12.4, allocations: 4.605 GB / 5.505 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/12.4, allocations: 85.11 kB / 5.505 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07343/12.47, allocations: 36.57 MB / 5.541 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/12.47, allocations: 0 / 5.541 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.684e-06/12.47, allocations: 0 / 5.541 GB, free: 229.1 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.0004153/12.47, allocations: 368.4 kB / 5.542 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/12.47, allocations: 7.625 kB / 5.542 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/12.47, allocations: 34.31 kB / 5.542 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/12.48, allocations: 14.02 kB / 5.542 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/12.48, allocations: 159.1 kB / 5.542 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/12.48, allocations: 7.156 kB / 5.542 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/12.48, allocations: 7.156 kB / 5.542 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/12.48, allocations: 50.69 kB / 5.542 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/12.48, allocations: 4 kB / 5.542 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/12.48, allocations: 0 / 5.542 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/12.48, allocations: 3.188 kB / 5.542 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/12.48, allocations: 16.83 kB / 5.542 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/12.48, allocations: 166.9 kB / 5.542 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/12.48, allocations: 49.28 kB / 5.542 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/12.48, allocations: 3.188 kB / 5.542 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/12.48, allocations: 38.31 kB / 5.542 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/12.48, allocations: 0 / 5.542 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.000993/12.48, allocations: 372.4 kB / 5.542 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/12.48, allocations: 54.59 kB / 5.542 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/12.48, allocations: 85 kB / 5.543 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/12.48, allocations: 32.77 kB / 5.543 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/12.48, allocations: 84.27 kB / 5.543 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/12.48, allocations: 44.92 kB / 5.543 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/12.48, allocations: 0 / 5.543 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/12.48, allocations: 317.5 kB / 5.543 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/12.48, allocations: 21.08 kB / 5.543 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/12.48, allocations: 33.39 kB / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/12.48, allocations: 27.14 kB / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/12.48, allocations: 0 / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000198/12.48, allocations: 90.62 kB / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/12.48, allocations: 15.67 kB / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/12.48, allocations: 3.953 kB / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/12.48, allocations: 0 / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/12.48, allocations: 23.38 kB / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/12.48, allocations: 4 kB / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/12.48, allocations: 3.125 kB / 5.543 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/12.48, allocations: 3.938 kB / 5.543 GB, free: 227.2 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 9.14e-05/12.48, allocations: 121.1 kB / 5.543 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/12.48, allocations: 15.75 kB / 5.543 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/12.48, allocations: 11.41 kB / 5.543 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/12.48, allocations: 3.953 kB / 5.543 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/12.48, allocations: 0 / 5.543 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/12.48, allocations: 3.984 kB / 5.543 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/12.48, allocations: 171.8 kB / 5.544 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/12.48, allocations: 0 / 5.544 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/12.48, allocations: 25.27 kB / 5.544 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/12.48, allocations: 3.594 kB / 5.544 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/12.48, allocations: 0 / 5.544 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/12.48, allocations: 4 kB / 5.544 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/12.48, allocations: 3.953 kB / 5.544 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/12.48, allocations: 135.8 kB / 5.544 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/12.48, allocations: 89.02 kB / 5.544 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/12.48, allocations: 0 / 5.544 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/12.48, allocations: 7.406 kB / 5.544 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/12.48, allocations: 7.938 kB / 5.544 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/12.48, allocations: 3.969 kB / 5.544 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.473e-05/12.48, allocations: 79.28 kB / 5.544 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.01e-07/12.48, allocations: 0 / 5.544 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005672/12.48, allocations: 56.3 kB / 5.544 GB, free: 226.6 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.001285/12.48, allocations: 1.139 MB / 5.545 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001811/12.48, allocations: 50.5 kB / 5.545 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/12.48, allocations: 0 / 5.545 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/12.48, allocations: 38.02 kB / 5.545 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/12.48, allocations: 7.828 kB / 5.545 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/12.48, allocations: 0.8098 MB / 5.546 GB, free: 225 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/12.48, allocations: 0.6923 MB / 5.547 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001369/12.48, allocations: 12.62 kB / 5.547 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/12.48, allocations: 19 kB / 5.547 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/12.48, allocations: 0 / 5.547 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/12.52, allocations: 10.84 MB / 5.557 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/12.52, allocations: 216.7 kB / 5.557 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/14.36, allocations: 8 kB / 5.557 GB, free: 216.1 MB / 0.8855 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)