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.008945/0.008945, allocations: 102.7 kB / 15.73 MB, free: 6.012 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.001976/0.001976, allocations: 196.5 kB / 16.68 MB, free: 5.934 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.517/1.517, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4224/0.4224, allocations: 54.94 MB / 324.8 MB, free: 20 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.00149/0.00149, allocations: 67.94 kB / 456.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1522, allocations: 59.59 MB / 0.5038 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002307/0.1545, allocations: 1.266 MB / 0.505 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5727/0.7272, allocations: 147 MB / 0.6486 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.7274, allocations: 0 / 0.6486 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.7275, allocations: 0 / 0.6486 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.7275, allocations: 10.42 kB / 0.6486 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.728, allocations: 92.98 kB / 0.6487 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.089e-05/0.7281, allocations: 40.94 kB / 0.6487 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.7281, allocations: 2.281 kB / 0.6487 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.7282, allocations: 16.19 kB / 0.6487 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.7283, allocations: 18.31 kB / 0.6488 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.7283, allocations: 2.281 kB / 0.6488 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.7285, allocations: 76.17 kB / 0.6488 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.7286, allocations: 9.531 kB / 0.6488 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.7286, allocations: 16.39 kB / 0.6489 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.7288, allocations: 65.36 kB / 0.6489 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7288, allocations: 0.6875 kB / 0.6489 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7288, allocations: 4 kB / 0.6489 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7288, allocations: 3.094 kB / 0.6489 GB, free: 0.4922 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.0004369/0.7293, allocations: 347.3 kB / 0.6493 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.7293, allocations: 9.656 kB / 0.6493 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.7295, allocations: 16.09 kB / 0.6493 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7296, allocations: 169.2 kB / 0.6494 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.7296, allocations: 7.281 kB / 0.6495 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.7297, allocations: 9.812 kB / 0.6495 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.7298, allocations: 49.89 kB / 0.6495 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.7298, allocations: 0.6562 kB / 0.6495 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.7298, allocations: 1.438 kB / 0.6495 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7298, allocations: 4 kB / 0.6495 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.7299, allocations: 19.91 kB / 0.6495 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.7301, allocations: 161.2 kB / 0.6497 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.7301, allocations: 55.28 kB / 0.6497 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.7302, allocations: 22.23 kB / 0.6498 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.7302, allocations: 5.109 kB / 0.6498 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.7302, allocations: 32.69 kB / 0.6498 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7302, allocations: 3.938 kB / 0.6498 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0007171/0.731, allocations: 372 kB / 0.6502 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.731, allocations: 61.38 kB / 0.6502 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.7311, allocations: 94.36 kB / 0.6503 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.7311, allocations: 30.27 kB / 0.6503 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.7311, allocations: 81.91 kB / 0.6504 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.7312, allocations: 36.06 kB / 0.6504 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.7312, allocations: 30.5 kB / 0.6505 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.7313, allocations: 318.9 kB / 0.6508 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.7313, allocations: 17.45 kB / 0.6508 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.7314, allocations: 39.69 kB / 0.6508 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.7315, allocations: 59.48 kB / 0.6509 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.7315, allocations: 1.094 kB / 0.6509 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001361/0.7316, allocations: 98.17 kB / 0.651 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.7316, allocations: 7.844 kB / 0.651 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7317, allocations: 0.875 kB / 0.651 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7317, allocations: 0.875 kB / 0.651 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.7318, allocations: 23.44 kB / 0.651 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7318, allocations: 8.172 kB / 0.651 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.7318, allocations: 3.25 kB / 0.651 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.7319, allocations: 7.203 kB / 0.651 GB, free: 14.66 MB / 0.5137 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.55e-05/0.7319, allocations: 119.7 kB / 0.6512 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.732, allocations: 3.5 kB / 0.6512 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.732, allocations: 11.28 kB / 0.6512 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.732, allocations: 4.078 kB / 0.6512 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.732, allocations: 0 / 0.6512 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.732, allocations: 0 / 0.6512 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.7321, allocations: 178.2 kB / 0.6513 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7321, allocations: 0.625 kB / 0.6513 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.7323, allocations: 20.5 kB / 0.6514 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7323, allocations: 0.7188 kB / 0.6514 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7323, allocations: 5.516 kB / 0.6514 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.7323, allocations: 1.938 kB / 0.6514 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7323, allocations: 3.781 kB / 0.6514 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.7325, allocations: 138 kB / 0.6515 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.7326, allocations: 92.94 kB / 0.6516 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.7327, allocations: 1.188 kB / 0.6516 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.7327, allocations: 4.688 kB / 0.6516 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.7328, allocations: 6.094 kB / 0.6516 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.7328, allocations: 5.625 kB / 0.6516 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.7328, allocations: 77.77 kB / 0.6517 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.92e-07/0.7328, allocations: 0 / 0.6517 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002023/0.733, allocations: 21.16 kB / 0.6517 GB, free: 14.09 MB / 0.5137 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.0001005/0.7331, allocations: 110.1 kB / 0.6518 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.7333, allocations: 55.28 kB / 0.6519 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7333, allocations: 0 / 0.6519 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.572e-05/0.7333, allocations: 30.08 kB / 0.6519 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.7336, allocations: 11.95 kB / 0.6519 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.7341, allocations: 320.3 kB / 0.6522 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.7344, allocations: 0.6842 MB / 0.6529 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.294e-05/0.7344, allocations: 11.27 kB / 0.6529 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.7345, allocations: 12.03 kB / 0.6529 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.7345, allocations: 4 kB / 0.6529 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.002567/0.7371, allocations: 0.6421 MB / 0.6535 GB, free: 12.97 MB / 0.5137 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)