Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_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.00969/0.00969, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8974/0.8974, allocations: 135.2 MB / 151 MB, free: 13.77 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.694/1.694, allocations: 223.2 MB / 406.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 100 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004036, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5145, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.69/12.21, allocations: 4.151 GB / 4.801 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/12.21, allocations: 84.41 kB / 4.801 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06584/12.27, allocations: 36.69 MB / 4.837 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.865e-06/12.27, allocations: 0 / 4.837 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.765e-06/12.27, allocations: 0 / 4.837 GB, free: 165.3 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.0003537/12.27, allocations: 355.3 kB / 4.837 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/12.27, allocations: 8.031 kB / 4.837 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/12.27, allocations: 38.56 kB / 4.837 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/12.27, allocations: 19.83 kB / 4.837 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.393e-05/12.27, allocations: 167 kB / 4.837 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/12.27, allocations: 4 kB / 4.837 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/12.27, allocations: 4 kB / 4.837 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/12.27, allocations: 53.67 kB / 4.837 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/12.27, allocations: 3.953 kB / 4.837 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/12.27, allocations: 0 / 4.837 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/12.27, allocations: 0 / 4.837 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/12.27, allocations: 23.98 kB / 4.837 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/12.27, allocations: 161.7 kB / 4.838 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/12.27, allocations: 50.5 kB / 4.838 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/12.27, allocations: 0 / 4.838 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/12.27, allocations: 38.5 kB / 4.838 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/12.27, allocations: 0 / 4.838 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0007195/12.27, allocations: 374.3 kB / 4.838 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/12.28, allocations: 55.34 kB / 4.838 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/12.28, allocations: 89 kB / 4.838 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/12.28, allocations: 29.7 kB / 4.838 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.845e-05/12.28, allocations: 84.12 kB / 4.838 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/12.28, allocations: 35.45 kB / 4.838 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/12.28, allocations: 4.125 kB / 4.838 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/12.28, allocations: 318.8 kB / 4.839 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/12.28, allocations: 19.92 kB / 4.839 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/12.28, allocations: 37.7 kB / 4.839 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.807e-05/12.28, allocations: 20.55 kB / 4.839 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/12.28, allocations: 0 / 4.839 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001179/12.28, allocations: 113.5 kB / 4.839 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/12.28, allocations: 4 kB / 4.839 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/12.28, allocations: 0 / 4.839 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/12.28, allocations: 7.953 kB / 4.839 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/12.28, allocations: 20 kB / 4.839 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/12.28, allocations: 3.938 kB / 4.839 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/12.28, allocations: 4 kB / 4.839 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/12.28, allocations: 0 / 4.839 GB, free: 162.9 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 () * 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 7.008e-05/12.28, allocations: 125.8 kB / 4.839 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/12.28, allocations: 4 kB / 4.839 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/12.28, allocations: 7.969 kB / 4.839 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/12.28, allocations: 7.953 kB / 4.839 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/12.28, allocations: 0 / 4.839 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/12.28, allocations: 4 kB / 4.839 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.884e-05/12.28, allocations: 165.7 kB / 4.839 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/12.28, allocations: 0 / 4.839 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/12.28, allocations: 23.98 kB / 4.839 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/12.28, allocations: 0 / 4.839 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/12.28, allocations: 4 kB / 4.839 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/12.28, allocations: 0 / 4.839 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/12.28, allocations: 3.953 kB / 4.839 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/12.28, allocations: 140.9 kB / 4.839 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/12.28, allocations: 89.05 kB / 4.839 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/12.28, allocations: 0 / 4.839 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/12.28, allocations: 8 kB / 4.839 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/12.28, allocations: 3.984 kB / 4.839 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/12.28, allocations: 7.953 kB / 4.839 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.936e-05/12.28, allocations: 75.28 kB / 4.84 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/12.28, allocations: 0 / 4.84 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003005/12.28, allocations: 60.08 kB / 4.84 GB, free: 162.1 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 () * 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.0008464/12.28, allocations: 1.145 MB / 4.841 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001232/12.28, allocations: 51.92 kB / 4.841 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/12.28, allocations: 0 / 4.841 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/12.28, allocations: 27.98 kB / 4.841 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/12.28, allocations: 4 kB / 4.841 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/12.28, allocations: 0.828 MB / 4.842 GB, free: 160 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/12.28, allocations: 0.6848 MB / 4.842 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.775e-05/12.28, allocations: 12.66 kB / 4.842 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/12.28, allocations: 19.5 kB / 4.842 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/12.28, allocations: 0 / 4.842 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/12.3, allocations: 10.84 MB / 4.853 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/12.3, allocations: 179.2 kB / 4.853 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/14.21, allocations: 0 / 4.853 GB, free: 148.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)