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.000925/0.000925, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009196/0.0009198, allocations: 177.3 kB / 15.95 MB, free: 216 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.37/1.37, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3804/0.3804, allocations: 54.97 MB / 325.4 MB, free: 0.6875 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.0007872/0.0007873, allocations: 15.98 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3137, allocations: 60.72 MB / 457.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00145/0.3152, allocations: 0.9813 MB / 458.3 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1427/0.458, allocations: 124.3 MB / 0.5689 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.4581, allocations: 4 kB / 0.5689 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.4581, allocations: 3.984 kB / 0.5689 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.4582, allocations: 11.92 kB / 0.5689 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.4586, allocations: 79.73 kB / 0.569 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.4587, allocations: 19.97 kB / 0.569 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.4587, allocations: 4 kB / 0.569 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.4588, allocations: 15.97 kB / 0.569 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.4588, allocations: 11.94 kB / 0.5691 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.4589, allocations: 0 / 0.5691 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.4592, allocations: 87.81 kB / 0.5691 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.4592, allocations: 9.203 kB / 0.5691 GB, free: 9.848 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.4592, allocations: 33.69 kB / 0.5692 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.4594, allocations: 41.44 kB / 0.5692 GB, free: 9.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4594, allocations: 0 / 0.5692 GB, free: 9.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4594, allocations: 0 / 0.5692 GB, free: 9.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.4594, allocations: 3.938 kB / 0.5692 GB, free: 9.77 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.0004089/0.4598, allocations: 341 kB / 0.5695 GB, free: 9.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4599, allocations: 19.97 kB / 0.5696 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.4601, allocations: 9.25 kB / 0.5696 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4602, allocations: 169.8 kB / 0.5697 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4603, allocations: 3.984 kB / 0.5697 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.4603, allocations: 8.625 kB / 0.5697 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.4604, allocations: 45.69 kB / 0.5698 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4604, allocations: 1.312 kB / 0.5698 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.4604, allocations: 4 kB / 0.5698 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4605, allocations: 1.719 kB / 0.5698 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.4605, allocations: 19.98 kB / 0.5698 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.4607, allocations: 175.2 kB / 0.57 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.883e-05/0.4608, allocations: 46.56 kB / 0.57 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.4608, allocations: 0 / 0.57 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4609, allocations: 30.56 kB / 0.5701 GB, free: 8.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.4609, allocations: 0 / 0.5701 GB, free: 8.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007391/0.4616, allocations: 384.1 kB / 0.5704 GB, free: 8.348 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.4617, allocations: 59.34 kB / 0.5705 GB, free: 8.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.4617, allocations: 93.86 kB / 0.5706 GB, free: 8.176 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4618, allocations: 25.7 kB / 0.5706 GB, free: 8.145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.4618, allocations: 84.14 kB / 0.5707 GB, free: 8.059 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.4618, allocations: 40.11 kB / 0.5707 GB, free: 8.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.4619, allocations: 8.125 kB / 0.5707 GB, free: 8.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.462, allocations: 314.8 kB / 0.571 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.462, allocations: 15.98 kB / 0.571 GB, free: 7.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.453e-05/0.4621, allocations: 38.2 kB / 0.5711 GB, free: 7.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.4621, allocations: 23.98 kB / 0.5711 GB, free: 7.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4621, allocations: 0 / 0.5711 GB, free: 7.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001243/0.4623, allocations: 89.62 kB / 0.5712 GB, free: 7.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4623, allocations: 4.938 kB / 0.5712 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4623, allocations: 8.812 kB / 0.5712 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4623, allocations: 7.984 kB / 0.5712 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.4624, allocations: 20 kB / 0.5712 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4624, allocations: 0 / 0.5712 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.4625, allocations: 4 kB / 0.5712 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4625, allocations: 0.625 kB / 0.5712 GB, free: 7.477 MB / 446.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.652e-05/0.4626, allocations: 117.8 kB / 0.5713 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.4626, allocations: 11.89 kB / 0.5713 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.4627, allocations: 11.97 kB / 0.5714 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4627, allocations: 8.609 kB / 0.5714 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4627, allocations: 4 kB / 0.5714 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4627, allocations: 0 / 0.5714 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.4628, allocations: 170.6 kB / 0.5715 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4628, allocations: 0 / 0.5715 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.4629, allocations: 20 kB / 0.5716 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.463, allocations: 0 / 0.5716 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.463, allocations: 12.67 kB / 0.5716 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.463, allocations: 0 / 0.5716 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.463, allocations: 9.016 kB / 0.5716 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.4632, allocations: 129 kB / 0.5717 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.4633, allocations: 89.14 kB / 0.5718 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4633, allocations: 0 / 0.5718 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.4634, allocations: 4 kB / 0.5718 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.4634, allocations: 15.94 kB / 0.5718 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4634, allocations: 1.031 kB / 0.5718 GB, free: 6.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.789e-05/0.4635, allocations: 79.28 kB / 0.5719 GB, free: 6.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4635, allocations: 4.094 kB / 0.5719 GB, free: 6.715 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.4637, allocations: 16 kB / 0.5719 GB, free: 6.699 MB / 446.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 8.952e-05/0.4638, allocations: 99.19 kB / 0.572 GB, free: 6.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.4639, allocations: 53.8 kB / 0.572 GB, free: 6.543 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4639, allocations: 0 / 0.572 GB, free: 6.543 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.361e-05/0.464, allocations: 31.92 kB / 0.5721 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.4642, allocations: 11.67 kB / 0.5721 GB, free: 6.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.4648, allocations: 385.9 kB / 0.5725 GB, free: 6.121 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.465, allocations: 0.6926 MB / 0.5731 GB, free: 5.402 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.692e-05/0.4651, allocations: 12.66 kB / 0.5731 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.4651, allocations: 11.44 kB / 0.5732 GB, free: 5.383 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4651, allocations: 4 kB / 0.5732 GB, free: 5.379 MB / 446.1 MB Notification: Performance of Templates: time 0.002561/0.4677, allocations: 0.5681 MB / 0.5737 GB, free: 4.828 MB / 446.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: