Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.001084/0.001084, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8111/0.8111, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.828/1.828, allocations: 221.3 MB / 400.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009458/0.0009457, allocations: 93.98 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.604e-05, allocations: 2.219 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1815, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.01/11.19, allocations: 4.151 GB / 4.792 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/11.19, allocations: 79.94 kB / 4.792 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0666/11.26, allocations: 36.6 MB / 4.828 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.385e-06/11.26, allocations: 0 / 4.828 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.264e-06/11.26, allocations: 4 kB / 4.828 GB, free: 136.8 MB / 0.6823 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.0003184/11.26, allocations: 348.8 kB / 4.828 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/11.26, allocations: 16.02 kB / 4.828 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/11.26, allocations: 30.56 kB / 4.828 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/11.26, allocations: 15.91 kB / 4.828 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/11.26, allocations: 167 kB / 4.828 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/11.26, allocations: 4 kB / 4.828 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/11.26, allocations: 0 / 4.828 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/11.26, allocations: 57.69 kB / 4.828 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/11.26, allocations: 3.953 kB / 4.828 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/11.26, allocations: 4 kB / 4.828 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/11.26, allocations: 0 / 4.828 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.562e-05/11.26, allocations: 19.98 kB / 4.828 GB, free: 136 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/11.26, allocations: 157.7 kB / 4.828 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.323e-05/11.26, allocations: 46.58 kB / 4.828 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/11.26, allocations: 20.8 kB / 4.829 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/11.26, allocations: 7.984 kB / 4.829 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/11.26, allocations: 30.56 kB / 4.829 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/11.26, allocations: 4 kB / 4.829 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0006134/11.26, allocations: 358.2 kB / 4.829 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/11.26, allocations: 59.39 kB / 4.829 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.258e-05/11.26, allocations: 89 kB / 4.829 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/11.26, allocations: 29.7 kB / 4.829 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.884e-05/11.26, allocations: 84.14 kB / 4.829 GB, free: 135 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/11.26, allocations: 35.45 kB / 4.829 GB, free: 135 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/11.26, allocations: 4 kB / 4.829 GB, free: 135 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.554e-05/11.26, allocations: 314.8 kB / 4.829 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/11.26, allocations: 16 kB / 4.83 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/11.26, allocations: 38.83 kB / 4.83 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/11.26, allocations: 32.22 kB / 4.83 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/11.26, allocations: 0 / 4.83 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001028/11.26, allocations: 89.58 kB / 4.83 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/11.26, allocations: 13.03 kB / 4.83 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/11.26, allocations: 3.953 kB / 4.83 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/11.26, allocations: 0 / 4.83 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/11.26, allocations: 27.94 kB / 4.83 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/11.26, allocations: 0 / 4.83 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/11.26, allocations: 3.984 kB / 4.83 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/11.26, allocations: 8 kB / 4.83 GB, free: 134.4 MB / 0.6823 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.782e-05/11.26, allocations: 109 kB / 4.83 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/11.26, allocations: 0 / 4.83 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/11.26, allocations: 16.09 kB / 4.83 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/11.26, allocations: 3.953 kB / 4.83 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/11.26, allocations: 0 / 4.83 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/11.26, allocations: 0 / 4.83 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.131e-05/11.26, allocations: 173.6 kB / 4.83 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/11.26, allocations: 4 kB / 4.83 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/11.26, allocations: 23.92 kB / 4.83 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/11.26, allocations: 4 kB / 4.83 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/11.26, allocations: 4 kB / 4.83 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/11.26, allocations: 0 / 4.83 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/11.26, allocations: 3.953 kB / 4.83 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/11.26, allocations: 133 kB / 4.83 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/11.26, allocations: 81.11 kB / 4.83 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/11.26, allocations: 96 / 4.83 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/11.26, allocations: 12.03 kB / 4.83 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/11.26, allocations: 19.88 kB / 4.83 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/11.26, allocations: 0 / 4.83 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.889e-05/11.26, allocations: 79.28 kB / 4.83 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/11.26, allocations: 0 / 4.83 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003045/11.26, allocations: 51.98 kB / 4.83 GB, free: 133.6 MB / 0.6823 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.0008083/11.26, allocations: 1.132 MB / 4.832 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001116/11.26, allocations: 63.86 kB / 4.832 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/11.26, allocations: 4 kB / 4.832 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/11.26, allocations: 31.88 kB / 4.832 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/11.26, allocations: 7.953 kB / 4.832 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/11.26, allocations: 330.5 kB / 4.832 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/11.26, allocations: 0.6926 MB / 4.833 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.786e-05/11.26, allocations: 12.61 kB / 4.833 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/11.26, allocations: 19.42 kB / 4.833 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/11.26, allocations: 0 / 4.833 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/11.28, allocations: 12.65 MB / 4.845 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/11.28, allocations: 164.3 kB / 4.845 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/13.33, allocations: 3.75 kB / 4.845 GB, free: 118.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)