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.007256/0.007256, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001336/0.001336, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.662/1.662, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4164/0.4164, allocations: 54.93 MB / 324.8 MB, free: 32 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.001568/0.001568, allocations: 70.19 kB / 456.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1332, allocations: 59.6 MB / 0.5039 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.6555/0.7888, allocations: 161.2 MB / 0.6613 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004291/0.7931, allocations: 2.384 MB / 0.6636 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.7937, allocations: 4.344 kB / 0.6636 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.7947, allocations: 262.3 kB / 0.6639 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.7963, allocations: 437.5 kB / 0.6643 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.7977, allocations: 333 kB / 0.6646 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002856/0.8005, allocations: 1.048 MB / 0.6657 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005089/0.8011, allocations: 149.8 kB / 0.6658 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.8033, allocations: 0.5808 MB / 0.6664 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005987/0.8039, allocations: 374.4 kB / 0.6667 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.804, allocations: 46.16 kB / 0.6668 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.8043, allocations: 58.64 kB / 0.6668 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.8046, allocations: 215.1 kB / 0.667 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.805, allocations: 275.2 kB / 0.6673 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009473/0.806, allocations: 0.7066 MB / 0.668 GB, free: 32 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.806, allocations: 0 / 0.668 GB, free: 32 kB / 0.4981 GB Notification: Performance of FrontEnd: time 4.519e-06/0.806, allocations: 7.094 kB / 0.668 GB, free: 28 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.806, allocations: 0 / 0.668 GB, free: 28 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.001458/0.8075, allocations: 0.7386 MB / 0.6687 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.8075, allocations: 14 kB / 0.6687 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.8079, allocations: 55.33 kB / 0.6688 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.8083, allocations: 333.1 kB / 0.6691 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.8084, allocations: 24.69 kB / 0.6691 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.8084, allocations: 38.25 kB / 0.6692 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.8091, allocations: 407.9 kB / 0.6695 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.8091, allocations: 3.938 kB / 0.6695 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.8092, allocations: 20.25 kB / 0.6696 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.8092, allocations: 9.141 kB / 0.6696 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.8097, allocations: 387.8 kB / 0.6699 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.8121, allocations: 1.569 MB / 0.6715 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.8125, allocations: 283.4 kB / 0.6717 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.8127, allocations: 164.5 kB / 0.6719 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.8128, allocations: 5.219 kB / 0.6719 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.8128, allocations: 37.31 kB / 0.6719 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.8128, allocations: 0 / 0.6719 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41): time 0.004253/0.8171, allocations: 1.85 MB / 0.6738 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.8171, allocations: 67.97 kB / 0.6738 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.8175, allocations: 323.7 kB / 0.6741 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.8176, allocations: 37.23 kB / 0.6742 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.8177, allocations: 197.4 kB / 0.6743 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.8178, allocations: 146.1 kB / 0.6745 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.818, allocations: 85.92 kB / 0.6746 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8181, allocations: 341.2 kB / 0.6749 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.8184, allocations: 165.6 kB / 0.6751 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.8187, allocations: 220.3 kB / 0.6753 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.8192, allocations: 394.1 kB / 0.6756 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8192, allocations: 1.094 kB / 0.6756 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009181/0.8201, allocations: 0.5475 MB / 0.6762 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.8201, allocations: 8.094 kB / 0.6762 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8202, allocations: 0 / 0.6762 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.8205, allocations: 94.42 kB / 0.6763 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.8212, allocations: 116.8 kB / 0.6764 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/0.825, allocations: 4.558 MB / 0.6808 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.8254, allocations: 10.56 kB / 0.6808 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.8255, allocations: 13.75 kB / 0.6809 GB, free: 8.449 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.0003296/0.8258, allocations: 184.9 kB / 0.681 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.567e-05/0.8259, allocations: 38.7 kB / 0.6811 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.826, allocations: 58.83 kB / 0.6811 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.826, allocations: 2.656 kB / 0.6811 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.8261, allocations: 3.375 kB / 0.6811 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008845/0.827, allocations: 0.6549 MB / 0.6818 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.8286, allocations: 1.135 MB / 0.6829 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.8286, allocations: 5.969 kB / 0.6829 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.8292, allocations: 118.5 kB / 0.683 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.8294, allocations: 56.7 kB / 0.6831 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.8295, allocations: 14.59 kB / 0.6831 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.8309, allocations: 1.742 MB / 0.6848 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8309, allocations: 0 / 0.6848 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.832, allocations: 0.7763 MB / 0.6855 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.8322, allocations: 172.1 kB / 0.6857 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.8323, allocations: 13.2 kB / 0.6857 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.8327, allocations: 17.22 kB / 0.6857 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.8328, allocations: 24.95 kB / 0.6857 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.8328, allocations: 24.94 kB / 0.6858 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000245/0.8331, allocations: 238.7 kB / 0.686 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.8331, allocations: 0 / 0.686 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000591/0.8337, allocations: 130.8 kB / 0.6861 GB, free: 5.629 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.0001855/0.8339, allocations: 121.6 kB / 0.6862 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.835, allocations: 0.7489 MB / 0.687 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.835, allocations: 2.438 kB / 0.687 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004875/0.8355, allocations: 325.9 kB / 0.6873 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.8368, allocations: 250 kB / 0.6875 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.8391, allocations: 1.135 MB / 0.6886 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.8396, allocations: 0.8219 MB / 0.6894 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004296/0.8401, allocations: 98.77 kB / 0.6895 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.8402, allocations: 42.88 kB / 0.6896 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.8402, allocations: 0 / 0.6896 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of Templates: time 0.01749/0.8577, allocations: 9.886 MB / 0.6992 GB, free: 1.016 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)