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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007499/0.007499, allocations: 100.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 186.6 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9897/0.9897, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5065, allocations: 80.92 MB / 0.6646 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001978/0.5085, allocations: 1.275 MB / 0.6659 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.174/0.6826, allocations: 147 MB / 0.8094 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.6827, allocations: 0 / 0.8094 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.6828, allocations: 3.938 kB / 0.8094 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.6828, allocations: 11.86 kB / 0.8094 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.6835, allocations: 103.5 kB / 0.8095 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.6837, allocations: 27.92 kB / 0.8096 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.6837, allocations: 0 / 0.8096 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.6838, allocations: 23.97 kB / 0.8096 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.6839, allocations: 11.94 kB / 0.8096 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.6839, allocations: 0 / 0.8096 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.6844, allocations: 87.81 kB / 0.8097 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.6844, allocations: 0 / 0.8097 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.6845, allocations: 19.92 kB / 0.8097 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.6847, allocations: 71.61 kB / 0.8098 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6847, allocations: 0 / 0.8098 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6847, allocations: 0 / 0.8098 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.046e-06/0.6847, allocations: 0 / 0.8098 GB, free: 12.46 MB / 0.6387 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.0004951/0.6853, allocations: 353.4 kB / 0.8101 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.6853, allocations: 11.97 kB / 0.8101 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.6855, allocations: 12.92 kB / 0.8101 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.6857, allocations: 164.4 kB / 0.8103 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.6857, allocations: 7.875 kB / 0.8103 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.6857, allocations: 11.91 kB / 0.8103 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.6859, allocations: 53.66 kB / 0.8104 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6859, allocations: 0 / 0.8104 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.6859, allocations: 8 kB / 0.8104 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6859, allocations: 0 / 0.8104 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.686, allocations: 19.92 kB / 0.8104 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.6862, allocations: 165.5 kB / 0.8105 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.736e-05/0.6863, allocations: 50.56 kB / 0.8106 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.6863, allocations: 16.84 kB / 0.8106 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.6864, allocations: 4 kB / 0.8106 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.6864, allocations: 34.56 kB / 0.8106 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6864, allocations: 0 / 0.8106 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0008062/0.6872, allocations: 370.3 kB / 0.811 GB, free: 11 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.6873, allocations: 51.41 kB / 0.811 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.6873, allocations: 97.84 kB / 0.8111 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.6874, allocations: 33.83 kB / 0.8112 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.6874, allocations: 80.14 kB / 0.8112 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.6875, allocations: 31.47 kB / 0.8113 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.6875, allocations: 37.64 kB / 0.8113 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6876, allocations: 318.8 kB / 0.8116 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.6877, allocations: 27.98 kB / 0.8116 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.6878, allocations: 33.7 kB / 0.8117 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.6878, allocations: 69.62 kB / 0.8117 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.6879, allocations: 0 / 0.8117 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001472/0.688, allocations: 94.22 kB / 0.8118 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.688, allocations: 4 kB / 0.8118 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.688, allocations: 80 / 0.8118 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.6881, allocations: 4 kB / 0.8118 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.6882, allocations: 23.92 kB / 0.8119 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.6882, allocations: 3.984 kB / 0.8119 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.6882, allocations: 4 kB / 0.8119 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.6883, allocations: 4 kB / 0.8119 GB, free: 10.03 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.521e-05/0.6884, allocations: 123.1 kB / 0.812 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.6884, allocations: 4 kB / 0.812 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.6884, allocations: 7.969 kB / 0.812 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6884, allocations: 0 / 0.812 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6884, allocations: 4 kB / 0.812 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6884, allocations: 0 / 0.812 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.6886, allocations: 177.5 kB / 0.8122 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6886, allocations: 3.938 kB / 0.8122 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.6887, allocations: 27.98 kB / 0.8122 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6887, allocations: 4 kB / 0.8122 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.6888, allocations: 0 / 0.8122 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6888, allocations: 0 / 0.8122 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6888, allocations: 4 kB / 0.8122 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.689, allocations: 132.9 kB / 0.8123 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.6891, allocations: 85.14 kB / 0.8124 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.6891, allocations: 0 / 0.8124 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.6892, allocations: 11.98 kB / 0.8124 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.6892, allocations: 11.94 kB / 0.8124 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.6892, allocations: 4.094 kB / 0.8124 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.6893, allocations: 75.28 kB / 0.8125 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6893, allocations: 0 / 0.8125 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002034/0.6895, allocations: 19.94 kB / 0.8125 GB, free: 9.258 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.6896, allocations: 107.2 kB / 0.8126 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.6898, allocations: 55.86 kB / 0.8127 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6898, allocations: 4.094 kB / 0.8127 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.6898, allocations: 31.98 kB / 0.8127 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.6901, allocations: 4 kB / 0.8127 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.6908, allocations: 325 kB / 0.813 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.6911, allocations: 0.6812 MB / 0.8137 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.651e-05/0.6911, allocations: 12.66 kB / 0.8137 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.6912, allocations: 15.44 kB / 0.8137 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.6912, allocations: 0 / 0.8137 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of Templates: time 0.003043/0.6942, allocations: 0.6472 MB / 0.8144 GB, free: 7.324 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (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 & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)