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.006238/0.006238, allocations: 169.5 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.8056/0.8056, allocations: 135.2 MB / 151 MB, free: 13.85 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.756/1.756, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001105/0.001105, allocations: 105.3 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5902, allocations: 82.31 MB / 0.6495 GB, free: 36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.94/12.53, allocations: 4.151 GB / 4.801 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/12.53, allocations: 89.94 kB / 4.801 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07273/12.61, allocations: 36.68 MB / 4.837 GB, free: 56.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/12.61, allocations: 0 / 4.837 GB, free: 56.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.024e-06/12.61, allocations: 0 / 4.837 GB, free: 56.02 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.0003604/12.61, allocations: 348 kB / 4.837 GB, free: 55.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/12.61, allocations: 8.031 kB / 4.837 GB, free: 55.63 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/12.61, allocations: 40.8 kB / 4.837 GB, free: 55.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/12.61, allocations: 15.91 kB / 4.837 GB, free: 55.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/12.61, allocations: 163 kB / 4.837 GB, free: 55.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/12.61, allocations: 2.438 kB / 4.837 GB, free: 55.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/12.61, allocations: 14.42 kB / 4.837 GB, free: 55.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/12.61, allocations: 46.25 kB / 4.837 GB, free: 55.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/12.61, allocations: 3.953 kB / 4.837 GB, free: 55.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/12.61, allocations: 2.562 kB / 4.837 GB, free: 55.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/12.61, allocations: 4 kB / 4.837 GB, free: 55.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/12.61, allocations: 18.48 kB / 4.837 GB, free: 55.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/12.61, allocations: 172.5 kB / 4.838 GB, free: 55.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/12.61, allocations: 48.12 kB / 4.838 GB, free: 55.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/12.61, allocations: 0 / 4.838 GB, free: 55.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/12.61, allocations: 37.06 kB / 4.838 GB, free: 54.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/12.61, allocations: 0 / 4.838 GB, free: 54.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0007578/12.61, allocations: 369.7 kB / 4.838 GB, free: 54.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/12.61, allocations: 54.09 kB / 4.838 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/12.61, allocations: 92.98 kB / 4.838 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/12.61, allocations: 28.39 kB / 4.838 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/12.61, allocations: 80.38 kB / 4.838 GB, free: 54.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/12.61, allocations: 40.94 kB / 4.838 GB, free: 54.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/12.61, allocations: 7 kB / 4.838 GB, free: 54.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.009e-05/12.61, allocations: 319 kB / 4.839 GB, free: 53.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/12.61, allocations: 16.86 kB / 4.839 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/12.61, allocations: 42.64 kB / 4.839 GB, free: 53.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/12.61, allocations: 25.67 kB / 4.839 GB, free: 53.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/12.61, allocations: 0 / 4.839 GB, free: 53.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001237/12.61, allocations: 94.02 kB / 4.839 GB, free: 53.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/12.61, allocations: 4 kB / 4.839 GB, free: 53.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/12.61, allocations: 0 / 4.839 GB, free: 53.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/12.61, allocations: 7.953 kB / 4.839 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/12.61, allocations: 27.92 kB / 4.839 GB, free: 53.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/12.61, allocations: 3.938 kB / 4.839 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/12.61, allocations: 6.375 kB / 4.839 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/12.61, allocations: 0 / 4.839 GB, free: 53.78 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.791e-05/12.61, allocations: 116.2 kB / 4.839 GB, free: 53.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/12.61, allocations: 4 kB / 4.839 GB, free: 53.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/12.61, allocations: 10.34 kB / 4.839 GB, free: 53.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/12.61, allocations: 3.953 kB / 4.839 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/12.61, allocations: 11.92 kB / 4.839 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/12.61, allocations: 4 kB / 4.839 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/12.61, allocations: 160.9 kB / 4.839 GB, free: 53.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/12.61, allocations: 0 / 4.839 GB, free: 53.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/12.61, allocations: 23.98 kB / 4.839 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/12.61, allocations: 0 / 4.839 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/12.61, allocations: 2.5 kB / 4.839 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/12.61, allocations: 0 / 4.839 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/12.61, allocations: 7.953 kB / 4.839 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/12.61, allocations: 136.6 kB / 4.839 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/12.61, allocations: 93.03 kB / 4.839 GB, free: 53.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/12.61, allocations: 2.375 kB / 4.839 GB, free: 53.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/12.61, allocations: 8.031 kB / 4.839 GB, free: 53.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/12.61, allocations: 6.25 kB / 4.839 GB, free: 53.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/12.61, allocations: 3.953 kB / 4.839 GB, free: 53.15 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.315e-05/12.61, allocations: 79.27 kB / 4.84 GB, free: 53.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/12.61, allocations: 4 kB / 4.84 GB, free: 53.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003637/12.61, allocations: 49.12 kB / 4.84 GB, free: 53.05 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.001182/12.61, allocations: 1.146 MB / 4.841 GB, free: 51.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001473/12.61, allocations: 49.48 kB / 4.841 GB, free: 51.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/12.61, allocations: 0 / 4.841 GB, free: 51.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/12.61, allocations: 28.23 kB / 4.841 GB, free: 51.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/12.61, allocations: 6.188 kB / 4.841 GB, free: 51.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/12.61, allocations: 0.8298 MB / 4.842 GB, free: 50.99 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/12.61, allocations: 0.6926 MB / 4.842 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.599e-05/12.61, allocations: 8.672 kB / 4.842 GB, free: 50.26 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/12.61, allocations: 18.55 kB / 4.842 GB, free: 50.25 MB / 0.6823 GB Notification: Performance of SimCode: time 1.021e-06/12.61, allocations: 0 / 4.842 GB, free: 50.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/12.64, allocations: 10.84 MB / 4.853 GB, free: 39.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003639/12.64, allocations: 187.5 kB / 4.853 GB, free: 39.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/14.72, allocations: 0 / 4.853 GB, free: 39.29 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)