Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001404/0.001405, allocations: 165.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.486/1.486, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001834/0.001834, allocations: 107.4 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.217/0.217, allocations: 37.99 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.791e-05, allocations: 1.375 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.316/2.431, allocations: 0.8072 GB / 1.197 GB, free: 84.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/2.431, allocations: 93.02 kB / 1.197 GB, free: 84.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.64/5.071, allocations: 0.7222 GB / 1.919 GB, free: 18.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/5.071, allocations: 0 / 1.919 GB, free: 18.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001021/5.072, allocations: 28 kB / 1.919 GB, free: 18.26 MB / 442.7 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.005192/5.077, allocations: 1.38 MB / 1.92 GB, free: 16.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/5.077, allocations: 8.031 kB / 1.92 GB, free: 16.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/5.079, allocations: 274.6 kB / 1.92 GB, free: 16.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/5.081, allocations: 0.6919 MB / 1.921 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/5.081, allocations: 93.39 kB / 1.921 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/5.081, allocations: 40 kB / 1.921 GB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001632/5.083, allocations: 0.8629 MB / 1.922 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/5.085, allocations: 1.106 MB / 1.923 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/5.085, allocations: 3.938 kB / 1.923 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/5.085, allocations: 8 kB / 1.923 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.169e-05/5.085, allocations: 69.28 kB / 1.923 GB, free: 13.55 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005074/5.09, allocations: 4.396 MB / 1.928 GB, free: 8.914 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/5.09, allocations: 239.2 kB / 1.928 GB, free: 8.672 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/5.091, allocations: 125.3 kB / 1.928 GB, free: 8.547 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/5.091, allocations: 20.2 kB / 1.928 GB, free: 8.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/5.091, allocations: 38.8 kB / 1.928 GB, free: 8.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/5.091, allocations: 0 / 1.928 GB, free: 8.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.005192/5.096, allocations: 1.519 MB / 1.929 GB, free: 6.859 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/5.096, allocations: 132.5 kB / 1.93 GB, free: 6.699 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007258/5.097, allocations: 0.6834 MB / 1.93 GB, free: 6.012 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/5.097, allocations: 29.7 kB / 1.93 GB, free: 5.977 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/5.097, allocations: 0.586 MB / 1.931 GB, free: 5.379 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/5.097, allocations: 130.2 kB / 1.931 GB, free: 5.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/5.097, allocations: 0 / 1.931 GB, free: 5.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/5.097, allocations: 398.7 kB / 1.931 GB, free: 4.852 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/5.098, allocations: 242.5 kB / 1.932 GB, free: 4.617 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/5.098, allocations: 0.8824 MB / 1.932 GB, free: 3.422 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/5.099, allocations: 445 kB / 1.933 GB, free: 2.988 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/5.099, allocations: 12 kB / 1.933 GB, free: 2.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001492/5.1, allocations: 1.092 MB / 1.934 GB, free: 1.875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/5.1, allocations: 19.94 kB / 1.934 GB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/5.1, allocations: 24 kB / 1.934 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/5.101, allocations: 252.6 kB / 1.934 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/5.102, allocations: 223.6 kB / 1.934 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007645/5.103, allocations: 0.8874 MB / 1.935 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/5.103, allocations: 44.03 kB / 1.935 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.714e-05/5.104, allocations: 68 kB / 1.935 GB, free: 352 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002461/5.104, allocations: 168.4 kB / 1.936 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/5.104, allocations: 86.97 kB / 1.936 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3847/5.489, allocations: 432.1 kB / 1.936 GB, free: 61.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/5.489, allocations: 0 / 1.936 GB, free: 61.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/5.489, allocations: 3.688 kB / 1.936 GB, free: 61.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/5.489, allocations: 1.734 kB / 1.936 GB, free: 61.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/5.491, allocations: 0.9916 MB / 1.937 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/5.491, allocations: 0 / 1.937 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/5.492, allocations: 174.6 kB / 1.937 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/5.492, allocations: 25.64 kB / 1.937 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/5.492, allocations: 7.266 kB / 1.937 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/5.493, allocations: 2.575 MB / 1.94 GB, free: 58.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/5.493, allocations: 6.016 kB / 1.94 GB, free: 58.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009984/5.494, allocations: 0.64 MB / 1.94 GB, free: 58.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/5.495, allocations: 192.2 kB / 1.941 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/5.495, allocations: 0.6562 kB / 1.941 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/5.495, allocations: 21.19 kB / 1.941 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/5.495, allocations: 25.88 kB / 1.941 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/5.495, allocations: 16.59 kB / 1.941 GB, free: 58.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006691/5.496, allocations: 0.4905 MB / 1.941 GB, free: 58.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/5.496, allocations: 3.469 kB / 1.941 GB, free: 58.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002326/5.498, allocations: 481.8 kB / 1.942 GB, free: 58.43 MB / 442.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * 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.003725/5.502, allocations: 1.572 MB / 1.943 GB, free: 58.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/5.504, allocations: 0.6153 MB / 1.944 GB, free: 58.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/5.504, allocations: 1.219 kB / 1.944 GB, free: 58.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008814/5.505, allocations: 336.2 kB / 1.944 GB, free: 58.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/5.506, allocations: 311.1 kB / 1.944 GB, free: 58.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/5.509, allocations: 1.16 MB / 1.945 GB, free: 57.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/5.51, allocations: 1.046 MB / 1.946 GB, free: 57.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001172/5.511, allocations: 311.7 kB / 1.947 GB, free: 57.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/5.511, allocations: 68.09 kB / 1.947 GB, free: 57.11 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/5.511, allocations: 0 / 1.947 GB, free: 57.11 MB / 442.7 MB Notification: Performance of Templates: time 0.03689/5.548, allocations: 21.92 MB / 1.968 GB, free: 56.67 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)