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.00628/0.00628, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.001286/0.001287, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.445/1.445, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3888/0.3888, allocations: 54.94 MB / 324.8 MB, free: 15.82 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.002257/0.002257, allocations: 69.64 kB / 456.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1435, allocations: 59.59 MB / 0.5037 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00208/0.1456, allocations: 1.268 MB / 0.5049 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5962/0.7418, allocations: 147 MB / 0.6485 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.742, allocations: 2.969 kB / 0.6485 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.742, allocations: 5.828 kB / 0.6485 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.7421, allocations: 7.297 kB / 0.6485 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.7425, allocations: 92.73 kB / 0.6486 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.593e-05/0.7426, allocations: 33.09 kB / 0.6486 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.7427, allocations: 6.219 kB / 0.6486 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/0.7428, allocations: 19.25 kB / 0.6486 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.7428, allocations: 15.53 kB / 0.6487 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.7428, allocations: 2.5 kB / 0.6487 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.7431, allocations: 75.48 kB / 0.6487 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.7432, allocations: 9.047 kB / 0.6487 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.7432, allocations: 17 kB / 0.6488 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.7435, allocations: 68.58 kB / 0.6488 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.7435, allocations: 0.75 kB / 0.6488 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.296e-06/0.7435, allocations: 0 / 0.6488 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.7435, allocations: 0 / 0.6488 GB, free: 0.5078 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.0006381/0.7442, allocations: 354.3 kB / 0.6492 GB, free: 16.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.7442, allocations: 8.969 kB / 0.6492 GB, free: 16.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.7445, allocations: 14.95 kB / 0.6492 GB, free: 16.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.7446, allocations: 162.4 kB / 0.6493 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.7446, allocations: 5.656 kB / 0.6493 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.7447, allocations: 11.23 kB / 0.6494 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.7448, allocations: 55.72 kB / 0.6494 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7449, allocations: 0 / 0.6494 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.7449, allocations: 5.562 kB / 0.6494 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.7449, allocations: 0.9062 kB / 0.6494 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.581e-05/0.745, allocations: 21.42 kB / 0.6494 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.7452, allocations: 166.9 kB / 0.6496 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.7453, allocations: 55.34 kB / 0.6496 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.7454, allocations: 20.27 kB / 0.6497 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.7454, allocations: 1.594 kB / 0.6497 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.7454, allocations: 35.38 kB / 0.6497 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.7454, allocations: 0.9375 kB / 0.6497 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0009329/0.7464, allocations: 370.6 kB / 0.6501 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.7464, allocations: 52.91 kB / 0.6501 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.7465, allocations: 91.98 kB / 0.6502 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.7466, allocations: 33.98 kB / 0.6502 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.7466, allocations: 82.31 kB / 0.6503 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.7466, allocations: 42.67 kB / 0.6503 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.7467, allocations: 29.27 kB / 0.6504 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7468, allocations: 321 kB / 0.6507 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.7469, allocations: 18.56 kB / 0.6507 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-05/0.747, allocations: 35.02 kB / 0.6507 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.7471, allocations: 70.95 kB / 0.6508 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7471, allocations: 0.9062 kB / 0.6508 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001599/0.7472, allocations: 90.45 kB / 0.6509 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7473, allocations: 5.719 kB / 0.6509 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7473, allocations: 1.062 kB / 0.6509 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.7473, allocations: 0.8438 kB / 0.6509 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.7474, allocations: 25.28 kB / 0.6509 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.7475, allocations: 4 kB / 0.6509 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.7475, allocations: 4.094 kB / 0.6509 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.7475, allocations: 2.844 kB / 0.6509 GB, free: 14.68 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 9.529e-05/0.7476, allocations: 121 kB / 0.651 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.7476, allocations: 6.547 kB / 0.651 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.7477, allocations: 14.39 kB / 0.6511 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7477, allocations: 1.375 kB / 0.6511 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7477, allocations: 1.125 kB / 0.6511 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7477, allocations: 0.75 kB / 0.6511 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.7479, allocations: 177.1 kB / 0.6512 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7479, allocations: 1.25 kB / 0.6512 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.748, allocations: 22.48 kB / 0.6513 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.748, allocations: 4 kB / 0.6513 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.748, allocations: 3.984 kB / 0.6513 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7481, allocations: 0.7031 kB / 0.6513 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7481, allocations: 1.781 kB / 0.6513 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.7483, allocations: 136.3 kB / 0.6514 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.7484, allocations: 84.39 kB / 0.6515 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.7485, allocations: 6 kB / 0.6515 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.7485, allocations: 8.547 kB / 0.6515 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.7486, allocations: 5.422 kB / 0.6515 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.7486, allocations: 10.75 kB / 0.6515 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.7486, allocations: 76.09 kB / 0.6516 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7486, allocations: 1.031 kB / 0.6516 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002152/0.7489, allocations: 16.53 kB / 0.6516 GB, free: 14.11 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.0001252/0.749, allocations: 100.1 kB / 0.6517 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.7492, allocations: 60.44 kB / 0.6517 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7492, allocations: 4.969 kB / 0.6518 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.385e-05/0.7493, allocations: 26.86 kB / 0.6518 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.7495, allocations: 9.641 kB / 0.6518 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.7502, allocations: 331.2 kB / 0.6521 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.7505, allocations: 0.6826 MB / 0.6528 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.558e-05/0.7505, allocations: 13.83 kB / 0.6528 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.7506, allocations: 12.25 kB / 0.6528 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.7506, allocations: 0 / 0.6528 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.003113/0.7537, allocations: 0.6453 MB / 0.6534 GB, free: 12.98 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)