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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 190 kB / 22.1 MB, free: 4.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 207.6 MB / 232.9 MB, free: 2.812 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5585/0.5585, allocations: 55.68 MB / 340.7 MB, free: 11.51 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") [Timeout 660] "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.002105/0.002105, allocations: 75.89 kB / 482.1 MB, free: 36.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1418, allocations: 62.87 MB / 0.5322 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.5293/0.6712, allocations: 160.1 MB / 0.6885 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003949/0.6751, allocations: 2.396 MB / 0.6909 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.6755, allocations: 8.781 kB / 0.6909 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.6765, allocations: 265.3 kB / 0.6911 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.6776, allocations: 452.4 kB / 0.6915 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009105/0.6785, allocations: 341.2 kB / 0.6919 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.6801, allocations: 1.065 MB / 0.6929 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.6803, allocations: 96.95 kB / 0.693 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.6818, allocations: 0.6223 MB / 0.6936 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.6823, allocations: 400.6 kB / 0.694 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.434e-05/0.6824, allocations: 48.31 kB / 0.694 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.6826, allocations: 56.5 kB / 0.6941 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.6828, allocations: 222.3 kB / 0.6943 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.6831, allocations: 281.2 kB / 0.6946 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008046/0.684, allocations: 0.7036 MB / 0.6953 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.684, allocations: 0 / 0.6953 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.684, allocations: 2.5 kB / 0.6953 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.684, allocations: 1.125 kB / 0.6953 GB, free: 11.65 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00145/0.6854, allocations: 0.6599 MB / 0.6959 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6855, allocations: 7.688 kB / 0.6959 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.6858, allocations: 60.38 kB / 0.696 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.6863, allocations: 276.2 kB / 0.6962 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6863, allocations: 23.88 kB / 0.6963 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.6863, allocations: 38.59 kB / 0.6963 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.687, allocations: 407.6 kB / 0.6967 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.687, allocations: 6.812 kB / 0.6967 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.687, allocations: 14.59 kB / 0.6967 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.687, allocations: 11.84 kB / 0.6967 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.6876, allocations: 389.4 kB / 0.6971 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.6899, allocations: 1.537 MB / 0.6986 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.6903, allocations: 278.5 kB / 0.6989 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.6905, allocations: 138.6 kB / 0.699 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.6906, allocations: 10.38 kB / 0.699 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.6906, allocations: 39.81 kB / 0.699 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.6906, allocations: 0 / 0.699 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.00423/0.6948, allocations: 1.537 MB / 0.7005 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.6949, allocations: 64.59 kB / 0.7006 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.6953, allocations: 335 kB / 0.7009 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.392e-05/0.6953, allocations: 32.61 kB / 0.701 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.6955, allocations: 190.8 kB / 0.7011 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.6956, allocations: 154.7 kB / 0.7013 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.6958, allocations: 83.62 kB / 0.7014 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.696, allocations: 342.4 kB / 0.7017 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.6962, allocations: 163.2 kB / 0.7018 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.6965, allocations: 222.6 kB / 0.7021 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.6971, allocations: 390.4 kB / 0.7024 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6971, allocations: 0 / 0.7024 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000972/0.6981, allocations: 0.5499 MB / 0.703 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.6981, allocations: 11.31 kB / 0.703 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6981, allocations: 0 / 0.703 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.6985, allocations: 88.7 kB / 0.7031 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.6991, allocations: 116.6 kB / 0.7032 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003898/0.703, allocations: 4.259 MB / 0.7073 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.7033, allocations: 12.66 kB / 0.7073 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.7034, allocations: 11.97 kB / 0.7074 GB, free: 2.781 MB / 0.4981 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.0002513/0.7036, allocations: 185.9 kB / 0.7075 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.7037, allocations: 35.66 kB / 0.7076 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.7038, allocations: 55.11 kB / 0.7076 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7038, allocations: 5.281 kB / 0.7076 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.7038, allocations: 0 / 0.7076 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008865/0.7047, allocations: 0.6532 MB / 0.7083 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.7065, allocations: 1.105 MB / 0.7093 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.7065, allocations: 3.938 kB / 0.7093 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.7072, allocations: 118.3 kB / 0.7095 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.7074, allocations: 58.08 kB / 0.7095 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.7074, allocations: 13.22 kB / 0.7095 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.709, allocations: 1.627 MB / 0.7111 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.709, allocations: 10.16 kB / 0.7111 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.7102, allocations: 0.779 MB / 0.7119 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.7104, allocations: 94.78 kB / 0.712 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.7105, allocations: 12.75 kB / 0.712 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.7109, allocations: 23.88 kB / 0.712 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.7109, allocations: 30.41 kB / 0.712 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.711, allocations: 23.14 kB / 0.7121 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002502/0.7113, allocations: 233.6 kB / 0.7123 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7113, allocations: 4 kB / 0.7123 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005634/0.7118, allocations: 133.4 kB / 0.7124 GB, free: 14.75 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.0001942/0.712, allocations: 115 kB / 0.7125 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.7132, allocations: 0.7214 MB / 0.7132 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7132, allocations: 2.531 kB / 0.7132 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/0.7137, allocations: 327.5 kB / 0.7135 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.715, allocations: 249.1 kB / 0.7138 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.7172, allocations: 1.137 MB / 0.7149 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.7177, allocations: 0.8298 MB / 0.7157 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003544/0.718, allocations: 96.36 kB / 0.7158 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.7182, allocations: 39.34 kB / 0.7158 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.7182, allocations: 0 / 0.7158 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.01939/0.7375, allocations: 10.24 MB / 0.7258 GB, free: 4.652 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.412184647284448] Failed to read output from testmodel.py, exit status != 0: 0.7457376150414348 0.761386532 0.074110205 Calling exit ...