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.001259/0.001259, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.42/1.42, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001317/0.001317, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2681, allocations: 46.64 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.437/0.7051, allocations: 175.5 MB / 0.4891 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004413/0.7096, allocations: 3.838 MB / 0.4928 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.7099, allocations: 2.125 kB / 0.4928 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.7107, allocations: 240.2 kB / 0.4931 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006732/0.7114, allocations: 365.4 kB / 0.4934 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.7129, allocations: 0.5384 MB / 0.4939 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009904/0.7139, allocations: 1.098 MB / 0.495 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.7143, allocations: 284.2 kB / 0.4953 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.7176, allocations: 1.293 MB / 0.4965 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.7182, allocations: 408 kB / 0.4969 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.7183, allocations: 64.91 kB / 0.497 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.7198, allocations: 0.5665 MB / 0.4975 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003971/0.7202, allocations: 450.1 kB / 0.498 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000561/0.7208, allocations: 496.9 kB / 0.4984 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.7227, allocations: 1.56 MB / 0.5 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7227, allocations: 1.844 kB / 0.5 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7227, allocations: 0 / 0.5 GB, free: 9.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.7227, allocations: 0 / 0.5 GB, free: 9.941 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.001965/0.7247, allocations: 1.063 MB / 0.501 GB, free: 9.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.7248, allocations: 11.83 kB / 0.501 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007902/0.7256, allocations: 149.6 kB / 0.5012 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007811/0.7264, allocations: 475.9 kB / 0.5016 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.7264, allocations: 46.78 kB / 0.5017 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.7266, allocations: 83.59 kB / 0.5017 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.728, allocations: 0.9478 MB / 0.5027 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.728, allocations: 2.875 kB / 0.5027 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/0.7281, allocations: 31.69 kB / 0.5027 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/0.7282, allocations: 41.95 kB / 0.5027 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.7293, allocations: 0.8713 MB / 0.5036 GB, free: 8.504 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.005454/0.7348, allocations: 3.489 MB / 0.507 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007812/0.7356, allocations: 0.6412 MB / 0.5076 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.736, allocations: 363 kB / 0.508 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.736, allocations: 17.81 kB / 0.508 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.7361, allocations: 50.88 kB / 0.508 GB, free: 6.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.344e-06/0.7361, allocations: 1.203 kB / 0.508 GB, free: 6.102 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.01505/0.7511, allocations: 6.2 MB / 0.5141 GB, free: 2.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.7512, allocations: 61.12 kB / 0.5142 GB, free: 2.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.7519, allocations: 0.548 MB / 0.5147 GB, free: 2.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.587e-05/0.752, allocations: 41.7 kB / 0.5147 GB, free: 2.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.7522, allocations: 284.2 kB / 0.515 GB, free: 1.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.7524, allocations: 253.5 kB / 0.5152 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.7526, allocations: 146.7 kB / 0.5154 GB, free: 1.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7527, allocations: 370.8 kB / 0.5157 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.7533, allocations: 441.7 kB / 0.5162 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.754, allocations: 0.5194 MB / 0.5167 GB, free: 64 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.7553, allocations: 0.9644 MB / 0.5176 GB, free: 15.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7553, allocations: 0 / 0.5176 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00193/0.7573, allocations: 1.354 MB / 0.5189 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7573, allocations: 8 kB / 0.5189 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.7573, allocations: 0 / 0.5189 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.7579, allocations: 339.8 kB / 0.5193 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.7589, allocations: 179.8 kB / 0.5194 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007465/0.7664, allocations: 10.97 MB / 0.5301 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.7672, allocations: 23.98 kB / 0.5302 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.184e-05/0.7673, allocations: 43.98 kB / 0.5302 GB, free: 1.117 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.0004657/0.7677, allocations: 277.6 kB / 0.5305 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.7679, allocations: 63.38 kB / 0.5305 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.77, allocations: 1.279 MB / 0.5318 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.77, allocations: 9.203 kB / 0.5318 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.77, allocations: 4 kB / 0.5318 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00172/0.7717, allocations: 1.61 MB / 0.5334 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/0.775, allocations: 2.271 MB / 0.5356 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.775, allocations: 0 / 0.5356 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.7761, allocations: 219.7 kB / 0.5358 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.7763, allocations: 73.92 kB / 0.5359 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.438e-05/0.7764, allocations: 40.06 kB / 0.5359 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.7777, allocations: 1.542 MB / 0.5374 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7777, allocations: 0 / 0.5374 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.7799, allocations: 1.598 MB / 0.539 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.7801, allocations: 148.3 kB / 0.5391 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.7803, allocations: 23.98 kB / 0.5391 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.781, allocations: 43.91 kB / 0.5392 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.7811, allocations: 60.58 kB / 0.5392 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.7812, allocations: 57.16 kB / 0.5393 GB, free: 7.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004524/0.7816, allocations: 411 kB / 0.5397 GB, free: 6.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7817, allocations: 0 / 0.5397 GB, free: 6.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001146/0.7828, allocations: 331.9 kB / 0.54 GB, free: 6.652 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.001581/0.7844, allocations: 0.5012 MB / 0.5405 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00329/0.7877, allocations: 2.109 MB / 0.5425 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7877, allocations: 0 / 0.5425 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000916/0.7886, allocations: 0.6818 MB / 0.5432 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.791, allocations: 0.5147 MB / 0.5437 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.7948, allocations: 2.199 MB / 0.5459 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.7955, allocations: 0.9749 MB / 0.5468 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009522/0.7964, allocations: 273.7 kB / 0.5471 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.7967, allocations: 91.39 kB / 0.5472 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.7967, allocations: 0 / 0.5472 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.0389/0.8356, allocations: 26.31 MB / 0.5729 GB, free: 4.82 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)