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.0009472/0.0009474, allocations: 100.3 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.0009708/0.0009708, allocations: 177.3 kB / 15.94 MB, free: 228 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.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3993/0.3993, allocations: 54.98 MB / 325.4 MB, free: 0.6953 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.0006125/0.0006127, allocations: 15.98 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3288, allocations: 60.72 MB / 457.3 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.1476/0.4765, allocations: 135.2 MB / 0.5786 GB, free: 132 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.4792, allocations: 1.992 MB / 0.5806 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.4794, allocations: 4 kB / 0.5806 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.48, allocations: 196 kB / 0.5807 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.4806, allocations: 287.1 kB / 0.581 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.4813, allocations: 255 kB / 0.5813 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00065/0.482, allocations: 0.5467 MB / 0.5818 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.4822, allocations: 101.5 kB / 0.5819 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008273/0.483, allocations: 442.6 kB / 0.5823 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.4834, allocations: 235.9 kB / 0.5825 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/0.4834, allocations: 24 kB / 0.5826 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.4836, allocations: 24 kB / 0.5826 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.4838, allocations: 173.6 kB / 0.5827 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.4839, allocations: 121.5 kB / 0.5829 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.4844, allocations: 0.5447 MB / 0.5834 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.4844, allocations: 0 / 0.5834 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4844, allocations: 4 kB / 0.5834 GB, free: 11.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.4844, allocations: 0 / 0.5834 GB, free: 11.23 MB / 462.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.001151/0.4856, allocations: 0.6257 MB / 0.584 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.4856, allocations: 8.031 kB / 0.584 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.4859, allocations: 61.66 kB / 0.5841 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.4864, allocations: 322.2 kB / 0.5844 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.4865, allocations: 29 kB / 0.5844 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.4865, allocations: 37.72 kB / 0.5844 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.4872, allocations: 398.4 kB / 0.5848 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.4873, allocations: 5.25 kB / 0.5848 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.4873, allocations: 16 kB / 0.5848 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.4873, allocations: 12 kB / 0.5849 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.4879, allocations: 387.7 kB / 0.5852 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.4903, allocations: 1.577 MB / 0.5868 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.4907, allocations: 281.5 kB / 0.587 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.4908, allocations: 11.98 kB / 0.587 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.4908, allocations: 34.56 kB / 0.5871 GB, free: 7.199 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 2.745e-06/0.4908, allocations: 5.406 kB / 0.5871 GB, free: 7.195 MB / 462.1 MB Notification: Performance of matching and sorting (n=41): time 0.004435/0.4953, allocations: 1.834 MB / 0.5889 GB, free: 5.246 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.4954, allocations: 55.41 kB / 0.5889 GB, free: 5.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.4957, allocations: 322.9 kB / 0.5892 GB, free: 4.855 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.4958, allocations: 29.7 kB / 0.5893 GB, free: 4.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.4959, allocations: 204.5 kB / 0.5895 GB, free: 4.617 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.496, allocations: 137.9 kB / 0.5896 GB, free: 4.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.4961, allocations: 8 kB / 0.5896 GB, free: 4.473 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4962, allocations: 346.8 kB / 0.5899 GB, free: 4.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.4965, allocations: 160.8 kB / 0.5901 GB, free: 3.969 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.4968, allocations: 208.2 kB / 0.5903 GB, free: 3.758 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.4971, allocations: 204.6 kB / 0.5905 GB, free: 3.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4971, allocations: 0 / 0.5905 GB, free: 3.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009255/0.498, allocations: 0.5499 MB / 0.591 GB, free: 2.988 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4981, allocations: 4 kB / 0.591 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4981, allocations: 0 / 0.591 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.4984, allocations: 94.61 kB / 0.5911 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.499, allocations: 117.1 kB / 0.5912 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/0.5024, allocations: 4.21 MB / 0.5953 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.5029, allocations: 36.05 kB / 0.5954 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.503, allocations: 19.98 kB / 0.5954 GB, free: 14.11 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.0002927/0.5033, allocations: 177.8 kB / 0.5956 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.5034, allocations: 35.62 kB / 0.5956 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.5035, allocations: 51.42 kB / 0.5956 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5035, allocations: 8.891 kB / 0.5956 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5035, allocations: 4 kB / 0.5957 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008486/0.5044, allocations: 0.6552 MB / 0.5963 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.5061, allocations: 1.131 MB / 0.5974 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5061, allocations: 4.562 kB / 0.5974 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.5068, allocations: 111.9 kB / 0.5975 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.507, allocations: 56.8 kB / 0.5976 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.5071, allocations: 24.92 kB / 0.5976 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.5084, allocations: 1.566 MB / 0.5991 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5084, allocations: 3.938 kB / 0.5991 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.5097, allocations: 0.8342 MB / 0.5999 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.5099, allocations: 164.7 kB / 0.6001 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.51, allocations: 15.98 kB / 0.6001 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.5104, allocations: 39.77 kB / 0.6001 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.5105, allocations: 31.95 kB / 0.6002 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.5106, allocations: 19.98 kB / 0.6002 GB, free: 8.816 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.5108, allocations: 234.8 kB / 0.6004 GB, free: 8.586 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5108, allocations: 0 / 0.6004 GB, free: 8.586 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006039/0.5114, allocations: 136 kB / 0.6005 GB, free: 8.453 MB / 478.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.0001683/0.5116, allocations: 115.8 kB / 0.6007 GB, free: 8.332 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.5128, allocations: 0.7409 MB / 0.6014 GB, free: 7.559 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5128, allocations: 4 kB / 0.6014 GB, free: 7.555 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004966/0.5133, allocations: 334.8 kB / 0.6017 GB, free: 7.215 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5145, allocations: 238.4 kB / 0.6019 GB, free: 6.996 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.5167, allocations: 1.306 MB / 0.6032 GB, free: 5.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.5172, allocations: 0.8314 MB / 0.604 GB, free: 4.805 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004342/0.5177, allocations: 99.33 kB / 0.6041 GB, free: 4.703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.5178, allocations: 45.48 kB / 0.6042 GB, free: 4.66 MB / 478.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5178, allocations: 0 / 0.6042 GB, free: 4.66 MB / 478.1 MB Notification: Performance of Templates: time 0.01436/0.5322, allocations: 8.961 MB / 0.6129 GB, free: 11.85 MB / 494.1 MB 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: