Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001599/0.001599, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4207/0.4207, allocations: 54.94 MB / 324.7 MB, free: 15.91 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 71.89 kB / 395.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1394, allocations: 59.6 MB / 454.9 MB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.2363/0.3757, allocations: 1.262 MB / 456.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1819/0.5576, allocations: 147 MB / 0.589 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.5578, allocations: 0 / 0.589 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.5578, allocations: 3.984 kB / 0.5891 GB, free: 3.145 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.5579, allocations: 7.875 kB / 0.5891 GB, free: 3.137 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.5585, allocations: 99.42 kB / 0.5892 GB, free: 3.043 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.476e-05/0.5586, allocations: 35.91 kB / 0.5892 GB, free: 3.008 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.166e-05/0.5586, allocations: 4 kB / 0.5892 GB, free: 3.004 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.5587, allocations: 15.98 kB / 0.5892 GB, free: 2.988 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.5588, allocations: 19.91 kB / 0.5892 GB, free: 2.969 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.5588, allocations: 0 / 0.5892 GB, free: 2.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.5592, allocations: 75.78 kB / 0.5893 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.5592, allocations: 15.97 kB / 0.5893 GB, free: 2.879 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.5593, allocations: 7.938 kB / 0.5893 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.5595, allocations: 65.84 kB / 0.5894 GB, free: 2.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5595, allocations: 0 / 0.5894 GB, free: 2.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5595, allocations: 4 kB / 0.5894 GB, free: 2.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.5595, allocations: 0 / 0.5894 GB, free: 2.805 MB / 462.1 MB 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.0004665/0.56, allocations: 347.5 kB / 0.5897 GB, free: 2.418 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.56, allocations: 8.031 kB / 0.5897 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.5602, allocations: 16.05 kB / 0.5897 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.5604, allocations: 168.3 kB / 0.5899 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5604, allocations: 11.88 kB / 0.5899 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.5604, allocations: 4 kB / 0.5899 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.5606, allocations: 57.67 kB / 0.59 GB, free: 2.117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5606, allocations: 3.938 kB / 0.59 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5606, allocations: 0 / 0.59 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5606, allocations: 0 / 0.59 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.5607, allocations: 19.98 kB / 0.59 GB, free: 2.094 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.5609, allocations: 161.6 kB / 0.5902 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.924e-05/0.561, allocations: 55.11 kB / 0.5902 GB, free: 1.824 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.561, allocations: 18.19 kB / 0.5902 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.561, allocations: 4 kB / 0.5902 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.5611, allocations: 34.5 kB / 0.5903 GB, free: 1.758 MB / 462.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.5611, allocations: 0 / 0.5903 GB, free: 1.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008265/0.5619, allocations: 372.7 kB / 0.5906 GB, free: 1.344 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.562, allocations: 55.41 kB / 0.5907 GB, free: 1.277 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.562, allocations: 98.52 kB / 0.5908 GB, free: 1.172 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.5621, allocations: 25.7 kB / 0.5908 GB, free: 1.141 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.5621, allocations: 84.14 kB / 0.5909 GB, free: 1.055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.5622, allocations: 35.45 kB / 0.5909 GB, free: 1.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.5622, allocations: 29.66 kB / 0.5909 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5623, allocations: 322.8 kB / 0.5912 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.734e-05/0.5624, allocations: 20 kB / 0.5913 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.5624, allocations: 34.77 kB / 0.5913 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.5626, allocations: 68.06 kB / 0.5914 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5626, allocations: 0 / 0.5914 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001429/0.5627, allocations: 95.33 kB / 0.5914 GB, free: 444 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5627, allocations: 4.781 kB / 0.5914 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5627, allocations: 0 / 0.5914 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5628, allocations: 4 kB / 0.5915 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.5629, allocations: 19.98 kB / 0.5915 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5629, allocations: 0 / 0.5915 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.563, allocations: 12.75 kB / 0.5915 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.563, allocations: 1.312 kB / 0.5915 GB, free: 404 kB / 462.1 MB 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 0.0001106/0.5631, allocations: 121.7 kB / 0.5916 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.5631, allocations: 7.906 kB / 0.5916 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.5632, allocations: 15.95 kB / 0.5916 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.5632, allocations: 0 / 0.5916 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5632, allocations: 4 kB / 0.5916 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5632, allocations: 0 / 0.5916 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.5634, allocations: 174.3 kB / 0.5918 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5634, allocations: 4 kB / 0.5918 GB, free: 20 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.5635, allocations: 20 kB / 0.5918 GB, free: 0 / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5635, allocations: 0 / 0.5918 GB, free: 0 / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5635, allocations: 0 / 0.5918 GB, free: 0 / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5635, allocations: 0.875 kB / 0.5918 GB, free: 0 / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/0.5635, allocations: 4.047 kB / 0.5918 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.5638, allocations: 141.5 kB / 0.592 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.5638, allocations: 81.16 kB / 0.592 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.5639, allocations: 12.08 kB / 0.592 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.564, allocations: 4 kB / 0.592 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.564, allocations: 7.984 kB / 0.5921 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.564, allocations: 8.859 kB / 0.5921 GB, free: 15.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.388e-05/0.564, allocations: 79.28 kB / 0.5921 GB, free: 15.63 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.564, allocations: 0 / 0.5921 GB, free: 15.63 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001932/0.5642, allocations: 21.81 kB / 0.5922 GB, free: 15.61 MB / 478.1 MB 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.0001072/0.5644, allocations: 95.34 kB / 0.5923 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.5645, allocations: 67.86 kB / 0.5923 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.5645, allocations: 3.984 kB / 0.5923 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.5646, allocations: 27.94 kB / 0.5923 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.5648, allocations: 9.328 kB / 0.5924 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.5655, allocations: 312.8 kB / 0.5927 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.5659, allocations: 0.6885 MB / 0.5933 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.431e-05/0.566, allocations: 8.672 kB / 0.5933 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.566, allocations: 11.44 kB / 0.5933 GB, free: 14.37 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.566, allocations: 4 kB / 0.5933 GB, free: 14.36 MB / 478.1 MB Notification: Performance of Templates: time 0.003002/0.569, allocations: 0.6449 MB / 0.594 GB, free: 13.75 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)