Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.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) 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 93.33 kB / 16.31 MB, free: 5.633 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.001318/0.001318, allocations: 179.8 kB / 17.21 MB, free: 5.555 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.654/1.654, allocations: 205.4 MB / 223.4 MB, free: 5.512 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.0005208/0.0005212, allocations: 15.98 kB / 280.2 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3073, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4364/0.7437, allocations: 159.6 MB / 487.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004299/0.7481, allocations: 3.569 MB / 490.9 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.7486, allocations: 4.656 kB / 490.9 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006229/0.7492, allocations: 153.8 kB / 491.1 MB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007293/0.7499, allocations: 333.1 kB / 491.4 MB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.7513, allocations: 406 kB / 491.8 MB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.7528, allocations: 1.31 MB / 493.1 MB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.753, allocations: 74.39 kB / 493.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.7556, allocations: 1.108 MB / 494.3 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.756, allocations: 361.9 kB / 494.7 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.7561, allocations: 20.81 kB / 494.7 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.7572, allocations: 0.6114 MB / 495.3 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.7574, allocations: 217.2 kB / 495.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.7575, allocations: 137.6 kB / 495.6 MB, free: 1.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009088/0.7585, allocations: 0.8592 MB / 496.5 MB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7585, allocations: 0 / 496.5 MB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.7585, allocations: 0 / 496.5 MB, free: 1.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.7585, allocations: 0 / 496.5 MB, free: 1.301 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001148/0.7596, allocations: 0.6953 MB / 497.2 MB, free: 16.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7597, allocations: 12.52 kB / 497.2 MB, free: 16.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005356/0.7602, allocations: 129.8 kB / 497.3 MB, free: 16.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.7607, allocations: 363.1 kB / 497.7 MB, free: 16.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.7607, allocations: 34.5 kB / 497.7 MB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.7608, allocations: 36.64 kB / 497.8 MB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.7616, allocations: 0.5523 MB / 498.3 MB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.7616, allocations: 5.375 kB / 498.3 MB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/0.7616, allocations: 19.94 kB / 498.3 MB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.7617, allocations: 9.312 kB / 498.3 MB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.7622, allocations: 446.2 kB / 498.8 MB, free: 16.46 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.002674/0.7649, allocations: 2.054 MB / 0.4891 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.7651, allocations: 145.1 kB / 0.4892 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.7652, allocations: 87.84 kB / 0.4893 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.7653, allocations: 2.875 kB / 0.4893 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.7653, allocations: 35.23 kB / 0.4893 GB, free: 15.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.684e-06/0.7653, allocations: 0 / 0.4893 GB, free: 15.21 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.004865/0.7702, allocations: 1.689 MB / 0.491 GB, free: 14.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.7702, allocations: 56.09 kB / 0.4911 GB, free: 14.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.7707, allocations: 479 kB / 0.4915 GB, free: 14.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.7707, allocations: 34.73 kB / 0.4915 GB, free: 14.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.7709, allocations: 310.8 kB / 0.4918 GB, free: 13.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.771, allocations: 94.95 kB / 0.4919 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.771, allocations: 12.25 kB / 0.4919 GB, free: 13.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.7712, allocations: 352.7 kB / 0.4923 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.7714, allocations: 135.5 kB / 0.4924 GB, free: 13.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.7717, allocations: 435.5 kB / 0.4928 GB, free: 13.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.772, allocations: 226.8 kB / 0.493 GB, free: 13.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.772, allocations: 5.562 kB / 0.493 GB, free: 13.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000898/0.7729, allocations: 0.6277 MB / 0.4937 GB, free: 13.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.773, allocations: 13.14 kB / 0.4937 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.773, allocations: 12.28 kB / 0.4937 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.7732, allocations: 61.36 kB / 0.4937 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.7736, allocations: 140.6 kB / 0.4939 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.775, allocations: 1.842 MB / 0.4957 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.7754, allocations: 37.23 kB / 0.4957 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.7755, allocations: 37.38 kB / 0.4957 GB, free: 11.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.7757, allocations: 213.5 kB / 0.4959 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.7758, allocations: 50.22 kB / 0.496 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.7762, allocations: 287.3 kB / 0.4963 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7763, allocations: 8.469 kB / 0.4963 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.7763, allocations: 0 / 0.4963 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004443/0.7767, allocations: 0.5256 MB / 0.4968 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008715/0.7776, allocations: 0.7002 MB / 0.4975 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7776, allocations: 1.859 kB / 0.4975 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.7779, allocations: 56.22 kB / 0.4975 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.67e-05/0.778, allocations: 30.36 kB / 0.4976 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.778, allocations: 7.422 kB / 0.4976 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/0.7789, allocations: 1.278 MB / 0.4988 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7789, allocations: 0 / 0.4988 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.7794, allocations: 426.1 kB / 0.4992 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.7795, allocations: 119.4 kB / 0.4993 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.7796, allocations: 5.281 kB / 0.4993 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.7799, allocations: 16.73 kB / 0.4994 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.7799, allocations: 21.53 kB / 0.4994 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.7799, allocations: 14.81 kB / 0.4994 GB, free: 8.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000309/0.7802, allocations: 324.4 kB / 0.4997 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7803, allocations: 3.938 kB / 0.4997 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008404/0.7811, allocations: 214.1 kB / 0.4999 GB, free: 8.395 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.7823, allocations: 402.5 kB / 0.5003 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007455/0.7831, allocations: 470 kB / 0.5007 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7831, allocations: 0 / 0.5007 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.7833, allocations: 205 kB / 0.5009 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.7844, allocations: 208.2 kB / 0.5011 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.7858, allocations: 1.04 MB / 0.5021 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.7862, allocations: 0.8277 MB / 0.503 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005087/0.7867, allocations: 135.5 kB / 0.5031 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.7868, allocations: 47.03 kB / 0.5031 GB, free: 6.34 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7869, allocations: 0 / 0.5031 GB, free: 6.34 MB / 398.1 MB Notification: Performance of Templates: time 0.01733/0.8042, allocations: 11.29 MB / 0.5142 GB, free: 164 kB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)