Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001172/0.001172, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.605/1.605, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3132, allocations: 46.62 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4551/0.7684, allocations: 173.5 MB / 498.2 MB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004598/0.773, allocations: 3.862 MB / 0.4903 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.7734, allocations: 6.656 kB / 0.4903 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.7742, allocations: 218.1 kB / 0.4905 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006355/0.7748, allocations: 358.6 kB / 0.4908 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.7762, allocations: 498.6 kB / 0.4913 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.7776, allocations: 1.594 MB / 0.4928 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.778, allocations: 241.7 kB / 0.4931 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.7811, allocations: 1.21 MB / 0.4943 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005995/0.7817, allocations: 461.3 kB / 0.4947 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.7818, allocations: 45.73 kB / 0.4947 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.7832, allocations: 0.7676 MB / 0.4955 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.7836, allocations: 420.5 kB / 0.4959 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004954/0.7841, allocations: 457.2 kB / 0.4963 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.7858, allocations: 1.601 MB / 0.4979 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7858, allocations: 2.625 kB / 0.4979 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.7858, allocations: 0 / 0.4979 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.7859, allocations: 0 / 0.4979 GB, free: 10.55 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001735/0.7876, allocations: 1.063 MB / 0.4989 GB, free: 9.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.7877, allocations: 10.12 kB / 0.4989 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.7883, allocations: 151.2 kB / 0.4991 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.789, allocations: 481.7 kB / 0.4995 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.789, allocations: 47.28 kB / 0.4996 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.7891, allocations: 76.8 kB / 0.4997 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.7905, allocations: 0.9493 MB / 0.5006 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.7906, allocations: 6.812 kB / 0.5006 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.958e-05/0.7907, allocations: 31.16 kB / 0.5006 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/0.7907, allocations: 43.2 kB / 0.5007 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.7919, allocations: 0.8749 MB / 0.5015 GB, free: 9.113 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/0.7973, allocations: 3.466 MB / 0.5049 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.7982, allocations: 0.6348 MB / 0.5055 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.7987, allocations: 365.9 kB / 0.5059 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.7987, allocations: 23.08 kB / 0.5059 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.7988, allocations: 46.38 kB / 0.5059 GB, free: 6.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.014e-06/0.7988, allocations: 1.203 kB / 0.5059 GB, free: 6.727 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.0147/0.8135, allocations: 6.197 MB / 0.512 GB, free: 3.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.8136, allocations: 63.66 kB / 0.5121 GB, free: 3.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/0.8143, allocations: 0.5477 MB / 0.5126 GB, free: 3.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.8144, allocations: 42.83 kB / 0.5126 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.8146, allocations: 278.5 kB / 0.5129 GB, free: 2.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.8148, allocations: 259 kB / 0.5131 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.815, allocations: 142.5 kB / 0.5133 GB, free: 2.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.8152, allocations: 370.8 kB / 0.5136 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007796/0.816, allocations: 445.7 kB / 0.5141 GB, free: 1.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.8167, allocations: 0.5155 MB / 0.5146 GB, free: 1.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.818, allocations: 0.9759 MB / 0.5155 GB, free: 164 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.818, allocations: 0 / 0.5155 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002055/0.8201, allocations: 1.335 MB / 0.5168 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.8201, allocations: 8 kB / 0.5168 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8201, allocations: 5.359 kB / 0.5168 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/0.8207, allocations: 338.6 kB / 0.5172 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/0.8216, allocations: 179.8 kB / 0.5173 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008057/0.8297, allocations: 10.24 MB / 0.5273 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008104/0.8306, allocations: 87.84 kB / 0.5274 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.8307, allocations: 47.98 kB / 0.5275 GB, free: 2.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004794/0.8311, allocations: 269.6 kB / 0.5277 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.8313, allocations: 63.34 kB / 0.5278 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.8333, allocations: 1.283 MB / 0.529 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.8334, allocations: 9.203 kB / 0.529 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8334, allocations: 0 / 0.529 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/0.8351, allocations: 1.605 MB / 0.5306 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.8386, allocations: 2.279 MB / 0.5328 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8387, allocations: 0 / 0.5328 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.8398, allocations: 215.7 kB / 0.533 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.84, allocations: 68.78 kB / 0.5331 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.8401, allocations: 45.27 kB / 0.5331 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.8414, allocations: 1.432 MB / 0.5345 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8414, allocations: 0 / 0.5345 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.8437, allocations: 1.605 MB / 0.5361 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.8441, allocations: 140.4 kB / 0.5362 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.8442, allocations: 31.92 kB / 0.5363 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007827/0.845, allocations: 75.78 kB / 0.5363 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.8451, allocations: 52.58 kB / 0.5364 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.8453, allocations: 63.94 kB / 0.5365 GB, free: 9.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004658/0.8457, allocations: 408.2 kB / 0.5368 GB, free: 8.867 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8457, allocations: 4 kB / 0.5368 GB, free: 8.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00124/0.847, allocations: 339.9 kB / 0.5372 GB, free: 8.531 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (77): * Single equations (assignments): 76 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/0.8487, allocations: 0.5127 MB / 0.5377 GB, free: 8.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.8513, allocations: 1.868 MB / 0.5395 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.8513, allocations: 0 / 0.5395 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009505/0.8523, allocations: 0.6897 MB / 0.5402 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.8545, allocations: 490.4 kB / 0.5406 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.8585, allocations: 2.476 MB / 0.5431 GB, free: 2.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.859, allocations: 0.9749 MB / 0.544 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001023/0.8601, allocations: 273.7 kB / 0.5443 GB, free: 1.121 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.8604, allocations: 99.39 kB / 0.5444 GB, free: 1.023 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.8604, allocations: 0 / 0.5444 GB, free: 1.023 MB / 430.1 MB Notification: Performance of Templates: time 0.04549/0.9059, allocations: 25.33 MB / 0.5691 GB, free: 7.672 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)