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.001086/0.001086, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001182/0.001182, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.434/1.434, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3676/0.3676, allocations: 54.93 MB / 324.4 MB, free: 156 kB / 254.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.001357/0.001357, allocations: 67.91 kB / 394.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1284, allocations: 59.58 MB / 454.4 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.2743/0.4028, allocations: 1.333 MB / 455.8 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1885/0.5913, allocations: 144.8 MB / 0.5865 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.5916, allocations: 4 kB / 0.5865 GB, free: 5.711 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.5916, allocations: 4 kB / 0.5865 GB, free: 5.707 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.207e-05/0.5917, allocations: 7.922 kB / 0.5865 GB, free: 5.699 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.5925, allocations: 85.38 kB / 0.5866 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.5926, allocations: 39.86 kB / 0.5867 GB, free: 5.582 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.5926, allocations: 0 / 0.5867 GB, free: 5.582 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/0.5927, allocations: 15.97 kB / 0.5867 GB, free: 5.566 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.5928, allocations: 11.94 kB / 0.5867 GB, free: 5.555 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.5928, allocations: 4 kB / 0.5867 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.5932, allocations: 79.81 kB / 0.5868 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.5932, allocations: 8.562 kB / 0.5868 GB, free: 5.465 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.5933, allocations: 19.92 kB / 0.5868 GB, free: 5.445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.5935, allocations: 65.98 kB / 0.5869 GB, free: 5.383 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5935, allocations: 0 / 0.5869 GB, free: 5.383 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5935, allocations: 0 / 0.5869 GB, free: 5.383 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.5935, allocations: 0 / 0.5869 GB, free: 5.383 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.0004987/0.594, allocations: 349.8 kB / 0.5872 GB, free: 4.996 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5941, allocations: 12.03 kB / 0.5872 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.5944, allocations: 20.05 kB / 0.5872 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.5945, allocations: 164.3 kB / 0.5874 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.5945, allocations: 3.938 kB / 0.5874 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.5946, allocations: 11.94 kB / 0.5874 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.5947, allocations: 53.61 kB / 0.5874 GB, free: 4.695 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5947, allocations: 0 / 0.5874 GB, free: 4.695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5947, allocations: 3.984 kB / 0.5875 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5948, allocations: 4 kB / 0.5875 GB, free: 4.688 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.669e-05/0.5948, allocations: 15.98 kB / 0.5875 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.5951, allocations: 169.6 kB / 0.5876 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.919e-05/0.5952, allocations: 46.56 kB / 0.5877 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.5952, allocations: 17.53 kB / 0.5877 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.5952, allocations: 3.938 kB / 0.5877 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.5953, allocations: 34.56 kB / 0.5877 GB, free: 4.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.5953, allocations: 0 / 0.5877 GB, free: 4.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008689/0.5962, allocations: 373.3 kB / 0.5881 GB, free: 3.922 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.5962, allocations: 59.41 kB / 0.5881 GB, free: 3.852 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.5963, allocations: 93.84 kB / 0.5882 GB, free: 3.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.5963, allocations: 29.7 kB / 0.5883 GB, free: 3.715 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.5964, allocations: 84.14 kB / 0.5883 GB, free: 3.629 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.5964, allocations: 35.58 kB / 0.5884 GB, free: 3.594 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.5965, allocations: 29.72 kB / 0.5884 GB, free: 3.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5967, allocations: 323.7 kB / 0.5887 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.5967, allocations: 19.98 kB / 0.5887 GB, free: 3.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/0.5968, allocations: 45.64 kB / 0.5888 GB, free: 3.164 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.5969, allocations: 59.95 kB / 0.5888 GB, free: 3.102 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5969, allocations: 0.625 kB / 0.5888 GB, free: 3.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001378/0.597, allocations: 93.62 kB / 0.5889 GB, free: 3.004 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.597, allocations: 8 kB / 0.5889 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5971, allocations: 4 kB / 0.5889 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5971, allocations: 0 / 0.5889 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.5972, allocations: 23.98 kB / 0.589 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5972, allocations: 3.375 kB / 0.589 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.5973, allocations: 1.062 kB / 0.589 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.5973, allocations: 4 kB / 0.589 GB, free: 2.965 MB / 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 9.439e-05/0.5974, allocations: 125.7 kB / 0.5891 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.5974, allocations: 3.906 kB / 0.5891 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.5974, allocations: 11.97 kB / 0.5891 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5975, allocations: 4 kB / 0.5891 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5975, allocations: 0 / 0.5891 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5975, allocations: 3.984 kB / 0.5891 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.5976, allocations: 173.6 kB / 0.5893 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5976, allocations: 0.5625 kB / 0.5893 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.5978, allocations: 19.98 kB / 0.5893 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5978, allocations: 0 / 0.5893 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5978, allocations: 8 kB / 0.5893 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5978, allocations: 2.688 kB / 0.5893 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5978, allocations: 4 kB / 0.5893 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.598, allocations: 146 kB / 0.5894 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.5981, allocations: 77.11 kB / 0.5895 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.5981, allocations: 4 kB / 0.5895 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.5982, allocations: 7.984 kB / 0.5895 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.5983, allocations: 4 kB / 0.5895 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.5983, allocations: 5.312 kB / 0.5895 GB, free: 2.289 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.5984, allocations: 79.28 kB / 0.5896 GB, free: 2.211 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5984, allocations: 0 / 0.5896 GB, free: 2.211 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.5986, allocations: 19.94 kB / 0.5896 GB, free: 2.191 MB / 462.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.0001312/0.5988, allocations: 103.2 kB / 0.5897 GB, free: 2.082 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.5989, allocations: 59.86 kB / 0.5898 GB, free: 2.023 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5989, allocations: 4 kB / 0.5898 GB, free: 2.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.599, allocations: 27.92 kB / 0.5898 GB, free: 1.992 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.5992, allocations: 13.41 kB / 0.5898 GB, free: 1.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.5999, allocations: 344.4 kB / 0.5902 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.6002, allocations: 0.6885 MB / 0.5908 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.454e-05/0.6003, allocations: 4.672 kB / 0.5908 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.6003, allocations: 16.66 kB / 0.5909 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.6003, allocations: 0 / 0.5909 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of Templates: time 0.003357/0.6037, allocations: 0.6258 MB / 0.5915 GB, free: 316 kB / 462.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)