Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001181/0.001181, allocations: 91.5 kB / 16.65 MB, free: 6.59 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.001357/0.001357, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.541/1.541, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0005019/0.0005018, allocations: 8.469 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4613/0.5651, allocations: 171.2 MB / 499.5 MB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.5697, allocations: 3.812 MB / 0.4915 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.5702, allocations: 3.938 kB / 0.4915 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008905/0.5711, allocations: 215 kB / 0.4917 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.5722, allocations: 350.3 kB / 0.4921 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.574, allocations: 0.4973 MB / 0.4926 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.5757, allocations: 1.59 MB / 0.4941 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.576, allocations: 239.4 kB / 0.4943 GB, free: 7.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.5789, allocations: 1.191 MB / 0.4955 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.5795, allocations: 434.7 kB / 0.4959 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.193e-05/0.5796, allocations: 35.94 kB / 0.496 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.581, allocations: 0.7602 MB / 0.4967 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.5814, allocations: 403.1 kB / 0.4971 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004884/0.5819, allocations: 472 kB / 0.4975 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.5837, allocations: 1.585 MB / 0.4991 GB, free: 3.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5837, allocations: 0 / 0.4991 GB, free: 3.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5837, allocations: 0 / 0.4991 GB, free: 3.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.5837, allocations: 0 / 0.4991 GB, free: 3.109 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.001663/0.5854, allocations: 0.8854 MB / 0.4999 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.5854, allocations: 8.031 kB / 0.4999 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007/0.5862, allocations: 159 kB / 0.5001 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007144/0.5869, allocations: 476.7 kB / 0.5006 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.5869, allocations: 53.31 kB / 0.5006 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5871, allocations: 64 kB / 0.5007 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.5886, allocations: 0.9512 MB / 0.5016 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.5886, allocations: 3.906 kB / 0.5016 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-05/0.5888, allocations: 36 kB / 0.5016 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.5888, allocations: 45.92 kB / 0.5017 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.5901, allocations: 0.8746 MB / 0.5025 GB, free: 15.47 MB / 414.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.005299/0.5954, allocations: 3.445 MB / 0.5059 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/0.5963, allocations: 0.6391 MB / 0.5065 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.5969, allocations: 370.2 kB / 0.5069 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-05/0.597, allocations: 20.53 kB / 0.5069 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.597, allocations: 47.06 kB / 0.5069 GB, free: 10.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 4.268e-06/0.597, allocations: 0 / 0.5069 GB, free: 10.66 MB / 414.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.01572/0.6128, allocations: 6.224 MB / 0.513 GB, free: 4.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.6128, allocations: 64 kB / 0.5131 GB, free: 3.969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.6135, allocations: 0.5447 MB / 0.5136 GB, free: 3.418 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-05/0.6136, allocations: 45.7 kB / 0.5137 GB, free: 3.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.6138, allocations: 276.6 kB / 0.5139 GB, free: 3.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.6141, allocations: 248.4 kB / 0.5142 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.6142, allocations: 73.61 kB / 0.5142 GB, free: 2.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.6144, allocations: 366.8 kB / 0.5146 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/0.615, allocations: 449.7 kB / 0.515 GB, free: 1.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.6158, allocations: 0.5116 MB / 0.5155 GB, free: 1.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.6172, allocations: 0.9759 MB / 0.5165 GB, free: 452 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6172, allocations: 0 / 0.5165 GB, free: 452 kB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00206/0.6192, allocations: 1.343 MB / 0.5178 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6193, allocations: 8 kB / 0.5178 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6193, allocations: 0 / 0.5178 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/0.6199, allocations: 326.7 kB / 0.5181 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.621, allocations: 183.8 kB / 0.5183 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008057/0.629, allocations: 10.24 MB / 0.5283 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008577/0.6299, allocations: 83.91 kB / 0.5283 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/0.63, allocations: 43.98 kB / 0.5284 GB, free: 3.211 MB / 430.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.0005587/0.6306, allocations: 277.5 kB / 0.5286 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.6308, allocations: 63.34 kB / 0.5287 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.633, allocations: 1.286 MB / 0.53 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.633, allocations: 12 kB / 0.53 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6331, allocations: 0 / 0.53 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2069/0.8399, allocations: 1.597 MB / 0.5315 GB, free: 165 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/0.8451, allocations: 2.278 MB / 0.5338 GB, free: 164.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.8451, allocations: 2.266 kB / 0.5338 GB, free: 164.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.8464, allocations: 221.4 kB / 0.534 GB, free: 164.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.8466, allocations: 69.22 kB / 0.534 GB, free: 164.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.8467, allocations: 39.44 kB / 0.5341 GB, free: 164.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.8479, allocations: 1.442 MB / 0.5355 GB, free: 163.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8479, allocations: 1.594 kB / 0.5355 GB, free: 163.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.8507, allocations: 1.598 MB / 0.537 GB, free: 162.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.851, allocations: 147.3 kB / 0.5372 GB, free: 162.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.8512, allocations: 32.02 kB / 0.5372 GB, free: 162.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/0.852, allocations: 71.39 kB / 0.5373 GB, free: 162.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.8522, allocations: 57.36 kB / 0.5373 GB, free: 162.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.8523, allocations: 59.47 kB / 0.5374 GB, free: 162.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006807/0.853, allocations: 412.5 kB / 0.5378 GB, free: 162.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.853, allocations: 0 / 0.5378 GB, free: 162.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001521/0.8545, allocations: 344 kB / 0.5381 GB, free: 162.4 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.001735/0.8563, allocations: 0.4947 MB / 0.5386 GB, free: 162.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003064/0.8593, allocations: 1.865 MB / 0.5404 GB, free: 161.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.8594, allocations: 1.031 kB / 0.5404 GB, free: 161.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.8604, allocations: 0.6861 MB / 0.5411 GB, free: 160.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/0.8632, allocations: 0.4894 MB / 0.5416 GB, free: 160.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.8678, allocations: 2.626 MB / 0.5441 GB, free: 159.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.8683, allocations: 0.9775 MB / 0.5451 GB, free: 158.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.8694, allocations: 284.1 kB / 0.5454 GB, free: 158.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.8697, allocations: 87.66 kB / 0.5454 GB, free: 158.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8697, allocations: 0 / 0.5454 GB, free: 158.6 MB / 430.1 MB Notification: Performance of Templates: time 0.03205/0.9018, allocations: 25.12 MB / 0.57 GB, free: 137.2 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)