Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5076/0.5076, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.5 MB / 343.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 87.97 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.684e-05, allocations: 0 / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1732, allocations: 72.3 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.577/9.75, allocations: 4.141 GB / 4.695 GB, free: 204.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/9.75, allocations: 82.86 kB / 4.695 GB, free: 204.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06351/9.814, allocations: 35.96 MB / 4.73 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/9.814, allocations: 0 / 4.73 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.54e-06/9.814, allocations: 0 / 4.73 GB, free: 168.3 MB / 0.6042 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.0002504/9.814, allocations: 357.9 kB / 4.73 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/9.814, allocations: 12.03 kB / 4.73 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/9.814, allocations: 11.98 kB / 4.73 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.874e-05/9.814, allocations: 167 kB / 4.73 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/9.814, allocations: 3.953 kB / 4.73 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/9.814, allocations: 4 kB / 4.73 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.702e-05/9.814, allocations: 15.98 kB / 4.731 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/9.815, allocations: 45.62 kB / 4.731 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/9.815, allocations: 0 / 4.731 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/9.815, allocations: 0 / 4.731 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/9.815, allocations: 0 / 4.731 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/9.815, allocations: 138.2 kB / 4.731 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/9.815, allocations: 50.56 kB / 4.731 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/9.815, allocations: 20.8 kB / 4.731 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/9.815, allocations: 0 / 4.731 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/9.815, allocations: 34.52 kB / 4.731 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/9.815, allocations: 0 / 4.731 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005494/9.815, allocations: 334.1 kB / 4.731 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.7e-05/9.815, allocations: 55.34 kB / 4.731 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.406e-05/9.815, allocations: 93 kB / 4.731 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/9.815, allocations: 25.7 kB / 4.731 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.484e-05/9.815, allocations: 80.14 kB / 4.731 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/9.816, allocations: 35.45 kB / 4.731 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/9.816, allocations: 0 / 4.731 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/9.816, allocations: 322.8 kB / 4.732 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/9.816, allocations: 16.12 kB / 4.732 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/9.816, allocations: 31.34 kB / 4.732 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/9.816, allocations: 24.2 kB / 4.732 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/9.816, allocations: 0 / 4.732 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.495e-05/9.816, allocations: 89.78 kB / 4.732 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/9.816, allocations: 4 kB / 4.732 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/9.816, allocations: 0 / 4.732 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/9.816, allocations: 7.938 kB / 4.732 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/9.816, allocations: 23.98 kB / 4.732 GB, free: 166 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/9.816, allocations: 4 kB / 4.732 GB, free: 166 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/9.816, allocations: 4 kB / 4.732 GB, free: 166 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/9.816, allocations: 0 / 4.732 GB, free: 166 MB / 0.6042 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 4.758e-05/9.816, allocations: 108.9 kB / 4.732 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.146e-05/9.816, allocations: 69.75 kB / 4.732 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/9.816, allocations: 11.84 kB / 4.732 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/9.816, allocations: 8.406 kB / 4.732 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/9.816, allocations: 3.984 kB / 4.732 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/9.816, allocations: 0 / 4.732 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/9.816, allocations: 11.98 kB / 4.732 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.064e-05/9.816, allocations: 142.2 kB / 4.732 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/9.816, allocations: 0 / 4.732 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/9.816, allocations: 27.98 kB / 4.732 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/9.816, allocations: 3.953 kB / 4.732 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/9.816, allocations: 0 / 4.732 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/9.817, allocations: 3.938 kB / 4.732 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/9.817, allocations: 7.938 kB / 4.732 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/9.817, allocations: 121.1 kB / 4.732 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/9.817, allocations: 81.11 kB / 4.732 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/9.817, allocations: 7.984 kB / 4.732 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/9.817, allocations: 4 kB / 4.732 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/9.817, allocations: 8 kB / 4.732 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/9.817, allocations: 0 / 4.732 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.518e-05/9.817, allocations: 79.27 kB / 4.733 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/9.817, allocations: 4 kB / 4.733 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002386/9.817, allocations: 36 kB / 4.733 GB, free: 165.2 MB / 0.6042 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.0008026/9.818, allocations: 1.216 MB / 4.734 GB, free: 164 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.719e-05/9.818, allocations: 47.94 kB / 4.734 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/9.818, allocations: 3.938 kB / 4.734 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/9.818, allocations: 28 kB / 4.734 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/9.818, allocations: 3.953 kB / 4.734 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/9.819, allocations: 318.3 kB / 4.734 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/9.819, allocations: 0.6962 MB / 4.735 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.524e-05/9.819, allocations: 4.672 kB / 4.735 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/9.819, allocations: 23.42 kB / 4.735 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/9.819, allocations: 0 / 4.735 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/9.842, allocations: 5.726 MB / 4.74 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/9.843, allocations: 163.7 kB / 4.741 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/11.47, allocations: 0 / 4.741 GB, free: 156.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)