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.008977/0.008977, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001807/0.001807, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.417/1.417, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2673/0.2673, allocations: 54.97 MB / 324.9 MB, free: 4.836 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.001409/0.001409, allocations: 67.84 kB / 456.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 59.6 MB / 0.5037 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002195/0.1317, allocations: 1.271 MB / 0.5049 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.5087/0.6404, allocations: 147 MB / 0.6485 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.6406, allocations: 0 / 0.6485 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.6407, allocations: 0 / 0.6485 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.6408, allocations: 3.938 kB / 0.6485 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.6415, allocations: 101.7 kB / 0.6486 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.6416, allocations: 31.86 kB / 0.6486 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.6417, allocations: 0 / 0.6486 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.6418, allocations: 19.92 kB / 0.6486 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.6419, allocations: 19.92 kB / 0.6487 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.6419, allocations: 0 / 0.6487 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.6422, allocations: 78.81 kB / 0.6487 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.6423, allocations: 4 kB / 0.6487 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.6423, allocations: 23.91 kB / 0.6488 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.6425, allocations: 67.41 kB / 0.6488 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6426, allocations: 0 / 0.6488 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6426, allocations: 0 / 0.6488 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.6426, allocations: 0 / 0.6488 GB, free: 12.31 MB / 0.4981 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.0005224/0.6431, allocations: 354.6 kB / 0.6492 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6432, allocations: 8.031 kB / 0.6492 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.6434, allocations: 12.84 kB / 0.6492 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.6435, allocations: 172.4 kB / 0.6494 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.6436, allocations: 11.94 kB / 0.6494 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.6436, allocations: 8 kB / 0.6494 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.6437, allocations: 45.69 kB / 0.6494 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6438, allocations: 3.984 kB / 0.6494 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.6438, allocations: 1.5 kB / 0.6494 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6438, allocations: 0 / 0.6494 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.6439, allocations: 15.98 kB / 0.6494 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.6441, allocations: 161.7 kB / 0.6496 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.6442, allocations: 65.02 kB / 0.6497 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.6442, allocations: 8.859 kB / 0.6497 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.6443, allocations: 4.219 kB / 0.6497 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.6443, allocations: 38.56 kB / 0.6497 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 3.396e-06/0.6443, allocations: 7.922 kB / 0.6497 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0008217/0.6451, allocations: 370.1 kB / 0.6501 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.6452, allocations: 51.41 kB / 0.6501 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.6453, allocations: 93.86 kB / 0.6502 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.6453, allocations: 29.7 kB / 0.6502 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.6453, allocations: 84.08 kB / 0.6503 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.6454, allocations: 39.44 kB / 0.6503 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.6455, allocations: 29.7 kB / 0.6504 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6456, allocations: 328.5 kB / 0.6507 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.073e-05/0.6456, allocations: 15.98 kB / 0.6507 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.6457, allocations: 37.7 kB / 0.6507 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.807e-05/0.6458, allocations: 55.28 kB / 0.6508 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6458, allocations: 0 / 0.6508 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001429/0.646, allocations: 102.1 kB / 0.6509 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.646, allocations: 4 kB / 0.6509 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.646, allocations: 0 / 0.6509 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.646, allocations: 0 / 0.6509 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.6462, allocations: 31.98 kB / 0.6509 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.6462, allocations: 3.938 kB / 0.6509 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.6462, allocations: 7.938 kB / 0.6509 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.6462, allocations: 0 / 0.6509 GB, free: 9.887 MB / 0.4981 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 9.139e-05/0.6463, allocations: 117.8 kB / 0.651 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.6464, allocations: 4 kB / 0.6511 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.6464, allocations: 11.97 kB / 0.6511 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6464, allocations: 0 / 0.6511 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6464, allocations: 4.75 kB / 0.6511 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6465, allocations: 8 kB / 0.6511 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.6466, allocations: 169.6 kB / 0.6512 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.6466, allocations: 0 / 0.6512 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.6468, allocations: 23.98 kB / 0.6513 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.6468, allocations: 1.625 kB / 0.6513 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.6468, allocations: 4 kB / 0.6513 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.6468, allocations: 3.938 kB / 0.6513 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6468, allocations: 0 / 0.6513 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.6471, allocations: 136.9 kB / 0.6514 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.6472, allocations: 93.05 kB / 0.6515 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.6472, allocations: 0 / 0.6515 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.6473, allocations: 4 kB / 0.6515 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.6473, allocations: 11.98 kB / 0.6515 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.6473, allocations: 0 / 0.6515 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.6474, allocations: 79.28 kB / 0.6516 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6474, allocations: 0 / 0.6516 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002001/0.6476, allocations: 16 kB / 0.6516 GB, free: 9.117 MB / 0.4981 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.0001146/0.6477, allocations: 111.2 kB / 0.6517 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.6479, allocations: 56.05 kB / 0.6518 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6479, allocations: 0 / 0.6518 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/0.6479, allocations: 31.92 kB / 0.6518 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.6482, allocations: 4 kB / 0.6518 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.6488, allocations: 329.9 kB / 0.6521 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.6491, allocations: 0.6853 MB / 0.6528 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.727e-05/0.6492, allocations: 12.66 kB / 0.6528 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.6492, allocations: 15.44 kB / 0.6528 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.6492, allocations: 0 / 0.6528 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of Templates: time 0.003509/0.6528, allocations: 0.6415 MB / 0.6534 GB, free: 7.203 MB / 0.4981 GB 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)