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.0007758/0.0007761, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0007869/0.0007869, allocations: 168.7 kB / 15.95 MB, free: 204 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.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4339/0.4339, allocations: 55.01 MB / 325.4 MB, free: 0.6406 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.0006256/0.0006257, allocations: 12 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4505, allocations: 60.72 MB / 457.4 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.2013/0.6519, allocations: 146.4 MB / 0.5896 GB, free: 4.844 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.6558, allocations: 2.242 MB / 0.5918 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.6563, allocations: 8 kB / 0.5918 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.6572, allocations: 167 kB / 0.5919 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.6585, allocations: 402 kB / 0.5923 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.6594, allocations: 258.5 kB / 0.5926 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001975/0.6614, allocations: 1.317 MB / 0.5939 GB, free: 476 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.6617, allocations: 102 kB / 0.594 GB, free: 376 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.6635, allocations: 0.494 MB / 0.5944 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007215/0.6643, allocations: 372.2 kB / 0.5948 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.6644, allocations: 20 kB / 0.5948 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.6646, allocations: 32 kB / 0.5948 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.6648, allocations: 191.5 kB / 0.595 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.665, allocations: 117.5 kB / 0.5951 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.6657, allocations: 0.5434 MB / 0.5957 GB, free: 14.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6657, allocations: 1.312 kB / 0.5957 GB, free: 14.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6657, allocations: 4 kB / 0.5957 GB, free: 14.6 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.6657, allocations: 4 kB / 0.5957 GB, free: 14.6 MB / 478.1 MB 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.001378/0.6671, allocations: 0.6257 MB / 0.5963 GB, free: 13.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.6672, allocations: 8.031 kB / 0.5963 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.6675, allocations: 61.14 kB / 0.5964 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.668, allocations: 326.2 kB / 0.5967 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.6681, allocations: 25 kB / 0.5967 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.6682, allocations: 37.72 kB / 0.5967 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.6689, allocations: 410.4 kB / 0.5971 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.669, allocations: 0 / 0.5971 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.669, allocations: 16 kB / 0.5971 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.6691, allocations: 8 kB / 0.5971 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.6697, allocations: 391.7 kB / 0.5975 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.6722, allocations: 1.575 MB / 0.599 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.6727, allocations: 281.5 kB / 0.5993 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.6729, allocations: 152.8 kB / 0.5995 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.6729, allocations: 15.91 kB / 0.5995 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.673, allocations: 42.56 kB / 0.5995 GB, free: 10.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.744e-06/0.673, allocations: 0 / 0.5995 GB, free: 10.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.004126/0.6771, allocations: 1.83 MB / 0.6013 GB, free: 8.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.6772, allocations: 63.34 kB / 0.6014 GB, free: 8.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.6776, allocations: 322.8 kB / 0.6017 GB, free: 8.062 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.6776, allocations: 33.7 kB / 0.6017 GB, free: 8.023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.6778, allocations: 192.5 kB / 0.6019 GB, free: 7.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.6779, allocations: 149.8 kB / 0.602 GB, free: 7.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.6779, allocations: 8 kB / 0.602 GB, free: 7.676 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.678, allocations: 342.8 kB / 0.6024 GB, free: 7.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.6783, allocations: 164.8 kB / 0.6025 GB, free: 7.172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.6786, allocations: 208.2 kB / 0.6027 GB, free: 6.961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.6789, allocations: 192.8 kB / 0.6029 GB, free: 6.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6789, allocations: 4 kB / 0.6029 GB, free: 6.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00106/0.6799, allocations: 0.5489 MB / 0.6034 GB, free: 6.199 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.68, allocations: 4 kB / 0.6034 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.68, allocations: 4 kB / 0.6035 GB, free: 6.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/0.6804, allocations: 94.55 kB / 0.6035 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.681, allocations: 123.8 kB / 0.6037 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.6851, allocations: 4.172 MB / 0.6077 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.6855, allocations: 45.44 kB / 0.6078 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.6855, allocations: 8 kB / 0.6078 GB, free: 1.352 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003159/0.6859, allocations: 185.7 kB / 0.608 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.686, allocations: 35.62 kB / 0.608 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.6861, allocations: 55.36 kB / 0.6081 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6862, allocations: 11.95 kB / 0.6081 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.6862, allocations: 4 kB / 0.6081 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009669/0.6872, allocations: 0.6474 MB / 0.6087 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.689, allocations: 1.131 MB / 0.6098 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.689, allocations: 4 kB / 0.6098 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.6896, allocations: 116.9 kB / 0.6099 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.6898, allocations: 56.97 kB / 0.61 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.6899, allocations: 23.94 kB / 0.61 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.6916, allocations: 1.563 MB / 0.6115 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6916, allocations: 0 / 0.6115 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.6929, allocations: 0.7743 MB / 0.6123 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.6932, allocations: 164.7 kB / 0.6124 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.6933, allocations: 11.98 kB / 0.6124 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.6937, allocations: 39.83 kB / 0.6125 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.6937, allocations: 35.91 kB / 0.6125 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.6938, allocations: 19.98 kB / 0.6125 GB, free: 12.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.6941, allocations: 230.5 kB / 0.6128 GB, free: 11.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.984e-06/0.6941, allocations: 0 / 0.6128 GB, free: 11.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006193/0.6947, allocations: 135.9 kB / 0.6129 GB, free: 11.79 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.6949, allocations: 115.2 kB / 0.613 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.6961, allocations: 0.741 MB / 0.6137 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6961, allocations: 12 kB / 0.6137 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.6966, allocations: 331 kB / 0.614 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.6978, allocations: 234.8 kB / 0.6143 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.7, allocations: 1.319 MB / 0.6156 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.7007, allocations: 0.8236 MB / 0.6164 GB, free: 8.125 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004212/0.7011, allocations: 99.33 kB / 0.6165 GB, free: 8.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.7013, allocations: 39.42 kB / 0.6165 GB, free: 7.984 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.7013, allocations: 0 / 0.6165 GB, free: 7.984 MB / 494.1 MB Notification: Performance of Templates: time 0.01582/0.7171, allocations: 8.977 MB / 0.6253 GB, free: 15.16 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: