Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.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.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004551/0.004551, allocations: 105.8 kB / 15.74 MB, free: 6.039 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.001077/0.001078, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.589/1.589, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4141/0.4141, 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.001606/0.001606, allocations: 70.23 kB / 456.3 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.169, allocations: 59.59 MB / 0.5038 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.6018/0.7709, allocations: 161.2 MB / 0.6613 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003282/0.7742, allocations: 2.388 MB / 0.6636 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.7745, allocations: 6.562 kB / 0.6636 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.7753, allocations: 264.8 kB / 0.6638 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009099/0.7762, allocations: 453.5 kB / 0.6643 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.7769, allocations: 336 kB / 0.6646 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.7782, allocations: 1.049 MB / 0.6656 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.7784, allocations: 146 kB / 0.6658 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.7796, allocations: 0.6089 MB / 0.6664 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.7801, allocations: 373 kB / 0.6667 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.7802, allocations: 49.53 kB / 0.6668 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.7803, allocations: 56.56 kB / 0.6668 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.7805, allocations: 216.7 kB / 0.667 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.7808, allocations: 277.4 kB / 0.6673 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.7815, allocations: 0.7048 MB / 0.668 GB, free: 76 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7815, allocations: 0 / 0.668 GB, free: 76 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7815, allocations: 0 / 0.668 GB, free: 76 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.7815, allocations: 0 / 0.668 GB, free: 76 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001278/0.7828, allocations: 0.7341 MB / 0.6687 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.7828, allocations: 10.03 kB / 0.6687 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.7832, allocations: 56.86 kB / 0.6688 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.7836, allocations: 335 kB / 0.6691 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.7837, allocations: 27.41 kB / 0.6691 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.7837, allocations: 38.12 kB / 0.6691 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.7843, allocations: 406.1 kB / 0.6695 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.7844, allocations: 3.938 kB / 0.6695 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.7844, allocations: 17.77 kB / 0.6695 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.7844, allocations: 11.03 kB / 0.6696 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005485/0.785, allocations: 386.9 kB / 0.6699 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.7871, allocations: 1.567 MB / 0.6715 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.7875, allocations: 281.3 kB / 0.6717 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.7877, allocations: 165.5 kB / 0.6719 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.7878, allocations: 2.094 kB / 0.6719 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.7878, allocations: 39.03 kB / 0.6719 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.7878, allocations: 0 / 0.6719 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41): time 0.004215/0.792, allocations: 1.851 MB / 0.6737 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.7921, allocations: 57.62 kB / 0.6738 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.7925, allocations: 321.5 kB / 0.6741 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.7926, allocations: 32.3 kB / 0.6741 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.7927, allocations: 200.5 kB / 0.6743 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.7929, allocations: 148 kB / 0.6745 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.793, allocations: 75.77 kB / 0.6745 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003226/0.7933, allocations: 344.2 kB / 0.6749 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.7936, allocations: 162.5 kB / 0.675 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.7939, allocations: 209.9 kB / 0.6752 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.7944, allocations: 402.2 kB / 0.6756 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.7944, allocations: 0 / 0.6756 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008679/0.7953, allocations: 0.5503 MB / 0.6761 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7953, allocations: 5.562 kB / 0.6761 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7954, allocations: 4.094 kB / 0.6761 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.7957, allocations: 89.44 kB / 0.6762 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/0.7963, allocations: 115.4 kB / 0.6763 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/0.8009, allocations: 4.561 MB / 0.6808 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.8013, allocations: 8.969 kB / 0.6808 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.8013, allocations: 14.34 kB / 0.6808 GB, free: 8.531 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003794/0.8017, allocations: 176.1 kB / 0.681 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.8019, allocations: 42.75 kB / 0.681 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.802, allocations: 56.44 kB / 0.6811 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.802, allocations: 6.562 kB / 0.6811 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.8021, allocations: 0 / 0.6811 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.8033, allocations: 0.6547 MB / 0.6817 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.8054, allocations: 1.143 MB / 0.6828 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.8054, allocations: 6.344 kB / 0.6828 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/0.8061, allocations: 111.6 kB / 0.6829 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.8063, allocations: 64.81 kB / 0.683 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.8064, allocations: 14.44 kB / 0.683 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.8083, allocations: 1.737 MB / 0.6847 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8083, allocations: 2.344 kB / 0.6847 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.8096, allocations: 0.7736 MB / 0.6855 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.8099, allocations: 168.8 kB / 0.6856 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.8099, allocations: 13.92 kB / 0.6857 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.8103, allocations: 18.16 kB / 0.6857 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.8104, allocations: 30.19 kB / 0.6857 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.8105, allocations: 24.08 kB / 0.6857 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003661/0.8109, allocations: 229.9 kB / 0.6859 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8109, allocations: 0 / 0.6859 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007032/0.8116, allocations: 131.7 kB / 0.6861 GB, free: 5.715 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002717/0.8119, allocations: 125.7 kB / 0.6862 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.8133, allocations: 0.7498 MB / 0.6869 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.8134, allocations: 192 / 0.6869 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.8139, allocations: 329.9 kB / 0.6872 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.8151, allocations: 260.3 kB / 0.6875 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.8174, allocations: 1.116 MB / 0.6886 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007677/0.8182, allocations: 0.8297 MB / 0.6894 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004716/0.8187, allocations: 96.38 kB / 0.6895 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.8188, allocations: 40.52 kB / 0.6895 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.8188, allocations: 0 / 0.6895 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of Templates: time 0.01564/0.8345, allocations: 9.89 MB / 0.6992 GB, free: 1.125 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)