Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008375/0.0008375, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008956/0.0008959, allocations: 172.7 kB / 15.95 MB, free: 208 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.505/1.505, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3928/0.3928, allocations: 40 MB / 310.4 MB, free: 9.738 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: ModelicaTest 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.000622/0.0006224, allocations: 18.97 kB / 378.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1525, allocations: 57.96 MB / 436.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5087/0.6613, allocations: 167.2 MB / 0.5898 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.6716, allocations: 6.615 MB / 0.5963 GB, free: 6.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.6728, allocations: 23.81 kB / 0.5963 GB, free: 6.137 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.6741, allocations: 302.1 kB / 0.5966 GB, free: 5.84 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005451/0.6796, allocations: 1.612 MB / 0.5982 GB, free: 4.227 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.6837, allocations: 1.216 MB / 0.5993 GB, free: 3.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003492/0.6872, allocations: 2.551 MB / 0.6018 GB, free: 476 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.6884, allocations: 461.2 kB / 0.6023 GB, free: 16 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/0.694, allocations: 1.689 MB / 0.6039 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/0.6977, allocations: 1.55 MB / 0.6054 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004184/0.6981, allocations: 36 kB / 0.6055 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/0.7022, allocations: 1.42 MB / 0.6069 GB, free: 11.31 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007916/0.7031, allocations: 418.8 kB / 0.6073 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007257/0.7038, allocations: 225.3 kB / 0.6075 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.7071, allocations: 1.617 MB / 0.609 GB, free: 9.059 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.7071, allocations: 4 kB / 0.6091 GB, free: 9.055 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.7071, allocations: 0 / 0.6091 GB, free: 9.055 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.864e-05/0.7072, allocations: 4 kB / 0.6091 GB, free: 9.051 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00343/0.7106, allocations: 1.224 MB / 0.6103 GB, free: 7.777 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7107, allocations: 12.03 kB / 0.6103 GB, free: 7.766 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.7121, allocations: 281.8 kB / 0.6105 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7131, allocations: 0.5977 MB / 0.6111 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.7132, allocations: 108.7 kB / 0.6112 GB, free: 6.738 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.7133, allocations: 63.98 kB / 0.6113 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.7153, allocations: 1.272 MB / 0.6125 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.7153, allocations: 0 / 0.6125 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.7154, allocations: 32 kB / 0.6126 GB, free: 5.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.525e-05/0.7155, allocations: 85.2 kB / 0.6126 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.7171, allocations: 1.055 MB / 0.6137 GB, free: 4.164 MB / 478.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.006225/0.7233, allocations: 4.896 MB / 0.6184 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.7238, allocations: 290.5 kB / 0.6187 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.7241, allocations: 137.6 kB / 0.6189 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.7243, allocations: 150.9 kB / 0.619 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.7243, allocations: 39.03 kB / 0.619 GB, free: 14.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.767e-06/0.7243, allocations: 0 / 0.619 GB, free: 14.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.00568/0.73, allocations: 1.738 MB / 0.6207 GB, free: 12.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.7301, allocations: 132.5 kB / 0.6209 GB, free: 12.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.7317, allocations: 0.9271 MB / 0.6218 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.7317, allocations: 33.7 kB / 0.6218 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/0.7322, allocations: 0.5595 MB / 0.6223 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.7324, allocations: 138.3 kB / 0.6225 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.7324, allocations: 20 kB / 0.6225 GB, free: 10.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.7326, allocations: 406.7 kB / 0.6229 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.7332, allocations: 266.5 kB / 0.6231 GB, free: 9.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007838/0.7339, allocations: 0.86 MB / 0.624 GB, free: 8.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/0.7346, allocations: 451.4 kB / 0.6244 GB, free: 8.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.7346, allocations: 8 kB / 0.6244 GB, free: 8.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001883/0.7365, allocations: 1.225 MB / 0.6256 GB, free: 7.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.7365, allocations: 12 kB / 0.6256 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.7366, allocations: 23.94 kB / 0.6256 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.7378, allocations: 306.4 kB / 0.6259 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.7384, allocations: 199.7 kB / 0.6261 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.7394, allocations: 0.9118 MB / 0.627 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/0.7403, allocations: 59.83 kB / 0.6271 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/0.7404, allocations: 68 kB / 0.6271 GB, free: 5.551 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005767/0.741, allocations: 357.6 kB / 0.6275 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.7412, allocations: 90.97 kB / 0.6276 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009602/0.7421, allocations: 482.3 kB / 0.628 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.7422, allocations: 5.375 kB / 0.628 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7422, allocations: 0 / 0.628 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.7422, allocations: 0 / 0.628 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.7441, allocations: 1.121 MB / 0.6291 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.7442, allocations: 3.938 kB / 0.6291 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009634/0.7451, allocations: 183.8 kB / 0.6293 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.7453, allocations: 24.84 kB / 0.6293 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.7453, allocations: 12 kB / 0.6293 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.7478, allocations: 2.68 MB / 0.632 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7478, allocations: 0 / 0.632 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3016/1.049, allocations: 0.6895 MB / 0.6326 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/1.05, allocations: 204.8 kB / 0.6328 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.05, allocations: 8.5 kB / 0.6328 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/1.051, allocations: 31.06 kB / 0.6329 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/1.051, allocations: 23.39 kB / 0.6329 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/1.051, allocations: 18.92 kB / 0.6329 GB, free: 155.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007976/1.051, allocations: 0.6235 MB / 0.6335 GB, free: 155.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.051, allocations: 0 / 0.6335 GB, free: 155.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001631/1.053, allocations: 426.6 kB / 0.6339 GB, free: 155.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/1.055, allocations: 0.6377 MB / 0.6345 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/1.056, allocations: 0.6684 MB / 0.6352 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.056, allocations: 2.938 kB / 0.6352 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008078/1.057, allocations: 372.3 kB / 0.6356 GB, free: 155.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.059, allocations: 410 kB / 0.6359 GB, free: 155.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/1.061, allocations: 1.885 MB / 0.6378 GB, free: 154.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/1.062, allocations: 1.035 MB / 0.6388 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000947/1.063, allocations: 314.3 kB / 0.6391 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/1.063, allocations: 76 kB / 0.6392 GB, free: 153.8 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/1.063, allocations: 0 / 0.6392 GB, free: 153.8 MB / 494.1 MB Notification: Performance of Templates: time 0.0344/1.097, allocations: 20.85 MB / 0.6595 GB, free: 151.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) Environment - environmentSimulation: