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: 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/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7178/0.7178, allocations: 133.3 MB / 150.1 MB, free: 11.17 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.573/1.573, allocations: 222.9 MB / 404.7 MB, free: 6.082 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.001267/0.001267, allocations: 103.7 kB / 485.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 59.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1768, allocations: 80.42 MB / 0.6421 GB, free: 5.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002752/0.1796, allocations: 1.337 MB / 0.6434 GB, free: 4.109 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.5708/0.7505, allocations: 144.7 MB / 0.7847 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.7506, allocations: 4 kB / 0.7847 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.7507, allocations: 0 / 0.7847 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.7507, allocations: 3.938 kB / 0.7847 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.7511, allocations: 80.31 kB / 0.7848 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.7512, allocations: 39.22 kB / 0.7849 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.7512, allocations: 2.094 kB / 0.7849 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.591e-05/0.7513, allocations: 19.91 kB / 0.7849 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.7513, allocations: 8.766 kB / 0.7849 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.7513, allocations: 7.984 kB / 0.7849 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.7516, allocations: 71.02 kB / 0.785 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.7516, allocations: 11.92 kB / 0.785 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.7517, allocations: 15.89 kB / 0.785 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.7518, allocations: 62.75 kB / 0.785 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7518, allocations: 0 / 0.785 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7519, allocations: 0 / 0.785 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.7519, allocations: 0 / 0.785 GB, free: 14.37 MB / 0.5261 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.0004469/0.7523, allocations: 365.4 kB / 0.7854 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.7524, allocations: 9.844 kB / 0.7854 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.7525, allocations: 8.906 kB / 0.7854 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.7527, allocations: 170.6 kB / 0.7856 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.7527, allocations: 5.125 kB / 0.7856 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.7527, allocations: 8.719 kB / 0.7856 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.7528, allocations: 44.16 kB / 0.7856 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7529, allocations: 0 / 0.7856 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7529, allocations: 2.219 kB / 0.7856 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7529, allocations: 7.984 kB / 0.7856 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.7529, allocations: 21.89 kB / 0.7857 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.7531, allocations: 173.4 kB / 0.7858 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.7532, allocations: 58.75 kB / 0.7859 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.7533, allocations: 11.83 kB / 0.7859 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.7533, allocations: 0 / 0.7859 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.7533, allocations: 45.73 kB / 0.7859 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.7533, allocations: 0 / 0.7859 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0007083/0.754, allocations: 363.2 kB / 0.7863 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.7541, allocations: 54.12 kB / 0.7863 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.7541, allocations: 96.48 kB / 0.7864 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.7542, allocations: 29.7 kB / 0.7865 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.7542, allocations: 84.27 kB / 0.7865 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.7543, allocations: 44.33 kB / 0.7866 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.7543, allocations: 29.33 kB / 0.7866 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7544, allocations: 321.2 kB / 0.7869 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.7545, allocations: 21.64 kB / 0.7869 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/0.7545, allocations: 37.7 kB / 0.787 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.232e-05/0.7546, allocations: 55.41 kB / 0.787 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.7546, allocations: 4 kB / 0.787 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000121/0.7547, allocations: 95.59 kB / 0.7871 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.7547, allocations: 6.375 kB / 0.7871 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7548, allocations: 2 kB / 0.7871 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.7548, allocations: 0 / 0.7871 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.7549, allocations: 26.06 kB / 0.7872 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.7549, allocations: 6.328 kB / 0.7872 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.7549, allocations: 0 / 0.7872 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.755, allocations: 5.188 kB / 0.7872 GB, free: 12.27 MB / 0.5261 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 7.555e-05/0.755, allocations: 120.6 kB / 0.7873 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.7551, allocations: 10 kB / 0.7873 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.7551, allocations: 7.969 kB / 0.7873 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7551, allocations: 2.625 kB / 0.7873 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7551, allocations: 0 / 0.7873 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7551, allocations: 0 / 0.7873 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.7553, allocations: 175.4 kB / 0.7875 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.7553, allocations: 0 / 0.7875 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.7554, allocations: 25.8 kB / 0.7875 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7554, allocations: 2.75 kB / 0.7875 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.7554, allocations: 4 kB / 0.7875 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7554, allocations: 4.703 kB / 0.7875 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7554, allocations: 2.219 kB / 0.7875 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.7565, allocations: 1.1 MB / 0.7886 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.7566, allocations: 83.17 kB / 0.7887 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.7566, allocations: 15.38 kB / 0.7887 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.7567, allocations: 6.688 kB / 0.7887 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.7567, allocations: 2.125 kB / 0.7887 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.7567, allocations: 10.23 kB / 0.7887 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.856e-05/0.7567, allocations: 78.28 kB / 0.7888 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7567, allocations: 0 / 0.7888 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002564/0.757, allocations: 23.28 kB / 0.7888 GB, free: 10.61 MB / 0.5261 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 9.979e-05/0.7571, allocations: 98 kB / 0.7889 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.7573, allocations: 60.5 kB / 0.7889 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7573, allocations: 4.094 kB / 0.7889 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/0.7573, allocations: 27.92 kB / 0.789 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.7575, allocations: 10.36 kB / 0.789 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.7582, allocations: 478.9 kB / 0.7894 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.7584, allocations: 0.6887 MB / 0.7901 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.702e-05/0.7585, allocations: 8.672 kB / 0.7901 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.7585, allocations: 15.44 kB / 0.7901 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.7585, allocations: 0 / 0.7901 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of Templates: time 0.002513/0.7611, allocations: 0.6469 MB / 0.7908 GB, free: 8.562 MB / 0.5261 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)