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.001215/0.001215, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001127/0.001127, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4579/0.4579, allocations: 55.01 MB / 325.4 MB, free: 0.7188 MB / 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.0005834/0.0005836, allocations: 16 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3513, allocations: 60.72 MB / 457.4 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001262/0.3526, allocations: 0.987 MB / 458.3 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1467/0.4993, allocations: 133.5 MB / 0.5779 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.4995, allocations: 0 / 0.5779 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.4995, allocations: 3.938 kB / 0.5779 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.4996, allocations: 7.922 kB / 0.578 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.5001, allocations: 79.27 kB / 0.578 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.325e-05/0.5002, allocations: 31.91 kB / 0.5781 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.453e-05/0.5003, allocations: 0 / 0.5781 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.5004, allocations: 15.92 kB / 0.5781 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.5005, allocations: 16.55 kB / 0.5781 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.5005, allocations: 4 kB / 0.5781 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.5009, allocations: 71.77 kB / 0.5782 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.5009, allocations: 15.97 kB / 0.5782 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.5009, allocations: 29.7 kB / 0.5782 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.5011, allocations: 41.94 kB / 0.5782 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5011, allocations: 1.969 kB / 0.5782 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.5011, allocations: 0 / 0.5782 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.5012, allocations: 0 / 0.5782 GB, free: 0.5078 MB / 446.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.0004875/0.5016, allocations: 347.3 kB / 0.5786 GB, free: 124 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5017, allocations: 8.031 kB / 0.5786 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.502, allocations: 13.23 kB / 0.5786 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.5022, allocations: 165.8 kB / 0.5788 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.5022, allocations: 4 kB / 0.5788 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.5023, allocations: 12.56 kB / 0.5788 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5024, allocations: 45.67 kB / 0.5788 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5024, allocations: 0 / 0.5788 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.5025, allocations: 7.938 kB / 0.5788 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5025, allocations: 7.031 kB / 0.5788 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.5025, allocations: 15.98 kB / 0.5788 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.5028, allocations: 167.3 kB / 0.579 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.5029, allocations: 51.44 kB / 0.5791 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.503, allocations: 16.84 kB / 0.5791 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.503, allocations: 0 / 0.5791 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.503, allocations: 38.56 kB / 0.5791 GB, free: 15.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.503, allocations: 4 kB / 0.5791 GB, free: 15.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008526/0.5039, allocations: 367 kB / 0.5795 GB, free: 15.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.504, allocations: 57.09 kB / 0.5795 GB, free: 15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.504, allocations: 89.86 kB / 0.5796 GB, free: 14.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.5041, allocations: 29.7 kB / 0.5796 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.5041, allocations: 88.25 kB / 0.5797 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.5042, allocations: 35.38 kB / 0.5797 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.5042, allocations: 8 kB / 0.5798 GB, free: 14.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5043, allocations: 314.8 kB / 0.5801 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.5043, allocations: 27.92 kB / 0.5801 GB, free: 14.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.5044, allocations: 29.7 kB / 0.5801 GB, free: 14.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.494e-05/0.5044, allocations: 25.03 kB / 0.5801 GB, free: 14.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5044, allocations: 0 / 0.5801 GB, free: 14.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001476/0.5046, allocations: 97.67 kB / 0.5802 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5046, allocations: 11.89 kB / 0.5802 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5046, allocations: 4 kB / 0.5802 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5047, allocations: 0 / 0.5802 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.5048, allocations: 19.98 kB / 0.5803 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.5048, allocations: 4.781 kB / 0.5803 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.5049, allocations: 0.6875 kB / 0.5803 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5049, allocations: 8.75 kB / 0.5803 GB, free: 14.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.798e-05/0.505, allocations: 109.8 kB / 0.5804 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.505, allocations: 15.84 kB / 0.5804 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.505, allocations: 11.92 kB / 0.5804 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.505, allocations: 7.984 kB / 0.5804 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5051, allocations: 0 / 0.5804 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5051, allocations: 4.734 kB / 0.5804 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.5052, allocations: 165.7 kB / 0.5806 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5052, allocations: 4.938 kB / 0.5806 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.5053, allocations: 23.98 kB / 0.5806 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5054, allocations: 0 / 0.5806 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.5054, allocations: 4.938 kB / 0.5806 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.5054, allocations: 3.953 kB / 0.5806 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5054, allocations: 4 kB / 0.5806 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.5056, allocations: 137.9 kB / 0.5807 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.5057, allocations: 81.11 kB / 0.5808 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.5057, allocations: 0 / 0.5808 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.5058, allocations: 11.98 kB / 0.5808 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.5058, allocations: 12.52 kB / 0.5808 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.5058, allocations: 0 / 0.5808 GB, free: 13.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.5059, allocations: 83.28 kB / 0.5809 GB, free: 13.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5059, allocations: 0 / 0.5809 GB, free: 13.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.5061, allocations: 16 kB / 0.5809 GB, free: 13.41 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 (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.0001528/0.5063, allocations: 103.2 kB / 0.581 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.5065, allocations: 52.62 kB / 0.5811 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.5065, allocations: 0 / 0.5811 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.5065, allocations: 36.84 kB / 0.5811 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.5068, allocations: 8.094 kB / 0.5811 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.5075, allocations: 380.4 kB / 0.5815 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.5078, allocations: 0.6848 MB / 0.5822 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.571e-05/0.5079, allocations: 12.66 kB / 0.5822 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.508, allocations: 11.44 kB / 0.5822 GB, free: 12.09 MB / 462.1 MB Notification: Performance of SimCode: time 1.373e-06/0.508, allocations: 0 / 0.5822 GB, free: 12.09 MB / 462.1 MB Notification: Performance of Templates: time 0.003059/0.511, allocations: 0.5815 MB / 0.5828 GB, free: 11.54 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: