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.0009187/0.0009188, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4583/0.4583, allocations: 90.8 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000893/0.0008932, allocations: 102.1 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.869e-05, allocations: 0 / 0.4897 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3507, allocations: 72.3 MB / 0.5603 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.157/9.508, allocations: 4.142 GB / 4.702 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/9.508, allocations: 79.58 kB / 4.702 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06551/9.574, allocations: 36.62 MB / 4.738 GB, free: 84.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.213e-06/9.574, allocations: 0 / 4.738 GB, free: 84.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/9.574, allocations: 2.438 kB / 4.738 GB, free: 84.26 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.0002792/9.574, allocations: 353.8 kB / 4.738 GB, free: 83.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/9.574, allocations: 11.98 kB / 4.738 GB, free: 83.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/9.574, allocations: 38.06 kB / 4.738 GB, free: 83.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/9.574, allocations: 11.98 kB / 4.738 GB, free: 83.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/9.574, allocations: 167 kB / 4.738 GB, free: 83.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/9.575, allocations: 3.953 kB / 4.738 GB, free: 83.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/9.575, allocations: 7.25 kB / 4.739 GB, free: 83.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/9.575, allocations: 48.5 kB / 4.739 GB, free: 83.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/9.575, allocations: 0 / 4.739 GB, free: 83.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/9.575, allocations: 0 / 4.739 GB, free: 83.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/9.575, allocations: 4 kB / 4.739 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.658e-05/9.575, allocations: 23.53 kB / 4.739 GB, free: 83.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/9.575, allocations: 168.7 kB / 4.739 GB, free: 83.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/9.575, allocations: 54.33 kB / 4.739 GB, free: 83.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/9.575, allocations: 12.17 kB / 4.739 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/9.575, allocations: 7.938 kB / 4.739 GB, free: 83.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/9.575, allocations: 34.25 kB / 4.739 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/9.575, allocations: 0 / 4.739 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.000659/9.576, allocations: 365.5 kB / 4.739 GB, free: 82.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/9.576, allocations: 51.41 kB / 4.739 GB, free: 82.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.566e-05/9.576, allocations: 89 kB / 4.739 GB, free: 82.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/9.576, allocations: 29.33 kB / 4.739 GB, free: 82.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.584e-05/9.576, allocations: 80.14 kB / 4.739 GB, free: 82.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/9.576, allocations: 35.14 kB / 4.739 GB, free: 82.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/9.576, allocations: 7.562 kB / 4.739 GB, free: 82.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/9.576, allocations: 316 kB / 4.74 GB, free: 82.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/9.576, allocations: 19.25 kB / 4.74 GB, free: 82.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/9.576, allocations: 38.7 kB / 4.74 GB, free: 82.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/9.576, allocations: 19.8 kB / 4.74 GB, free: 82.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/9.576, allocations: 3.953 kB / 4.74 GB, free: 82.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001036/9.576, allocations: 99.75 kB / 4.74 GB, free: 82.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/9.576, allocations: 4 kB / 4.74 GB, free: 82.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/9.576, allocations: 8 kB / 4.74 GB, free: 82.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/9.576, allocations: 4 kB / 4.74 GB, free: 82.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/9.576, allocations: 23.92 kB / 4.74 GB, free: 82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/9.576, allocations: 4 kB / 4.74 GB, free: 82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/9.576, allocations: 3.938 kB / 4.74 GB, free: 82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/9.576, allocations: 10.38 kB / 4.74 GB, free: 81.99 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 5.547e-05/9.577, allocations: 104.7 kB / 4.74 GB, free: 81.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/9.577, allocations: 7.953 kB / 4.74 GB, free: 81.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/9.577, allocations: 11.22 kB / 4.74 GB, free: 81.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/9.577, allocations: 4 kB / 4.74 GB, free: 81.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/9.577, allocations: 4 kB / 4.74 GB, free: 81.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/9.577, allocations: 0 / 4.74 GB, free: 81.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.958e-05/9.577, allocations: 164.5 kB / 4.74 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/9.577, allocations: 0 / 4.74 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/9.577, allocations: 31.31 kB / 4.74 GB, free: 81.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/9.577, allocations: 0 / 4.74 GB, free: 81.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/9.577, allocations: 0 / 4.74 GB, free: 81.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/9.577, allocations: 0 / 4.74 GB, free: 81.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/9.577, allocations: 7.938 kB / 4.74 GB, free: 81.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/9.577, allocations: 134.6 kB / 4.74 GB, free: 81.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/9.577, allocations: 85.05 kB / 4.741 GB, free: 81.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/9.577, allocations: 7.953 kB / 4.741 GB, free: 81.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/9.577, allocations: 3.188 kB / 4.741 GB, free: 81.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/9.577, allocations: 7.984 kB / 4.741 GB, free: 81.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/9.577, allocations: 4 kB / 4.741 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.014e-05/9.577, allocations: 78.84 kB / 4.741 GB, free: 81.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/9.577, allocations: 4.094 kB / 4.741 GB, free: 81.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003227/9.578, allocations: 53.42 kB / 4.741 GB, free: 81.27 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.0007947/9.578, allocations: 1.134 MB / 4.742 GB, free: 80.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001143/9.579, allocations: 50.77 kB / 4.742 GB, free: 80.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/9.579, allocations: 0 / 4.742 GB, free: 80.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/9.579, allocations: 27.56 kB / 4.742 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/9.579, allocations: 7.5 kB / 4.742 GB, free: 80.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/9.579, allocations: 341.5 kB / 4.742 GB, free: 79.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/9.579, allocations: 0.6926 MB / 4.743 GB, free: 79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.822e-05/9.579, allocations: 12.66 kB / 4.743 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/9.579, allocations: 14.94 kB / 4.743 GB, free: 78.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/9.579, allocations: 0 / 4.743 GB, free: 78.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/9.603, allocations: 12.65 MB / 4.755 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/9.603, allocations: 161.2 kB / 4.755 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/11.44, allocations: 4 kB / 4.755 GB, free: 66.22 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)