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.001521/0.001521, allocations: 181.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5226/0.5226, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.635/1.635, allocations: 223.2 MB / 354.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001478, allocations: 103.4 kB / 427.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003809, allocations: 8 kB / 0.4983 GB, free: 41.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 72.31 MB / 0.5689 GB, free: 1.609 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.93/11.11, allocations: 4.142 GB / 4.711 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/11.11, allocations: 79.95 kB / 4.711 GB, free: 99.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06729/11.17, allocations: 36.69 MB / 4.747 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.106e-06/11.17, allocations: 4 kB / 4.747 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.782e-06/11.17, allocations: 4 kB / 4.747 GB, free: 62.8 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.0003641/11.18, allocations: 359.8 kB / 4.747 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/11.18, allocations: 8.031 kB / 4.747 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/11.18, allocations: 38.56 kB / 4.747 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/11.18, allocations: 7.984 kB / 4.747 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.935e-05/11.18, allocations: 167 kB / 4.747 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/11.18, allocations: 3.953 kB / 4.747 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/11.18, allocations: 8 kB / 4.747 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/11.18, allocations: 57.61 kB / 4.747 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/11.18, allocations: 0 / 4.747 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/11.18, allocations: 4 kB / 4.747 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/11.18, allocations: 0 / 4.747 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/11.18, allocations: 15.98 kB / 4.747 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/11.18, allocations: 165.6 kB / 4.747 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.569e-05/11.18, allocations: 58.45 kB / 4.748 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/11.18, allocations: 4 kB / 4.748 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/11.18, allocations: 30.56 kB / 4.748 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/11.18, allocations: 0 / 4.748 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0007501/11.18, allocations: 370.6 kB / 4.748 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/11.18, allocations: 51.41 kB / 4.748 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/11.18, allocations: 97 kB / 4.748 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/11.18, allocations: 25.7 kB / 4.748 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/11.18, allocations: 80.38 kB / 4.748 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/11.18, allocations: 47.34 kB / 4.748 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/11.18, allocations: 0 / 4.748 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/11.18, allocations: 322.8 kB / 4.749 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.168e-05/11.18, allocations: 12 kB / 4.749 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/11.18, allocations: 41.64 kB / 4.749 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/11.18, allocations: 24.12 kB / 4.749 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/11.18, allocations: 0 / 4.749 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001171/11.18, allocations: 97.61 kB / 4.749 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/11.18, allocations: 4 kB / 4.749 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/11.18, allocations: 0 / 4.749 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/11.18, allocations: 0 / 4.749 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/11.18, allocations: 27.94 kB / 4.749 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/11.18, allocations: 7.922 kB / 4.749 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/11.18, allocations: 0 / 4.749 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/11.18, allocations: 4 kB / 4.749 GB, free: 60.44 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 () * 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 8.725e-05/11.18, allocations: 117.8 kB / 4.749 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/11.18, allocations: 11.86 kB / 4.749 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/11.18, allocations: 11.97 kB / 4.749 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/11.18, allocations: 0 / 4.749 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/11.18, allocations: 0 / 4.749 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/11.18, allocations: 0 / 4.749 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/11.18, allocations: 173.6 kB / 4.749 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/11.18, allocations: 0 / 4.749 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/11.18, allocations: 27.97 kB / 4.749 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/11.18, allocations: 3.953 kB / 4.749 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/11.18, allocations: 8 kB / 4.749 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/11.18, allocations: 0 / 4.749 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/11.18, allocations: 7.938 kB / 4.749 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/11.18, allocations: 121.2 kB / 4.749 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/11.18, allocations: 93.05 kB / 4.749 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/11.18, allocations: 3.953 kB / 4.749 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/11.18, allocations: 3.938 kB / 4.749 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/11.18, allocations: 11.98 kB / 4.749 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/11.18, allocations: 8 kB / 4.749 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.389e-05/11.18, allocations: 75.28 kB / 4.749 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/11.18, allocations: 0 / 4.749 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003832/11.18, allocations: 55.98 kB / 4.749 GB, free: 59.62 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 () * 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.001009/11.18, allocations: 1.13 MB / 4.751 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001371/11.18, allocations: 63.8 kB / 4.751 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/11.18, allocations: 0 / 4.751 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/11.18, allocations: 27.92 kB / 4.751 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/11.18, allocations: 15.95 kB / 4.751 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/11.18, allocations: 0.82 MB / 4.751 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/11.18, allocations: 0.6887 MB / 4.752 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.154e-05/11.18, allocations: 8.672 kB / 4.752 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/11.18, allocations: 15.44 kB / 4.752 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/11.18, allocations: 8 kB / 4.752 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/11.21, allocations: 10.84 MB / 4.763 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/11.21, allocations: 191.3 kB / 4.763 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/13.17, allocations: 4 kB / 4.763 GB, free: 45.8 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)