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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001609/0.001609, allocations: 187.8 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.833/1.833, allocations: 194.3 MB / 203.1 MB, free: 9.262 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002117/0.002117, allocations: 116.1 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.784e-05, allocations: 4 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09442, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.608/1.703, allocations: 0.7078 GB / 1.042 GB, free: 65.59 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003894/1.703, allocations: 87.94 kB / 1.042 GB, free: 65.5 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.956/3.659, allocations: 0.5662 GB / 1.609 GB, free: 65.74 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.493e-06/3.659, allocations: 0 / 1.609 GB, free: 65.74 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.204e-05/3.659, allocations: 13.56 kB / 1.609 GB, free: 65.74 MB / 411.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.001753/3.661, allocations: 0.7784 MB / 1.609 GB, free: 65.28 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/3.661, allocations: 11.41 kB / 1.609 GB, free: 65.28 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006716/3.662, allocations: 122.4 kB / 1.61 GB, free: 65.26 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/3.662, allocations: 371.7 kB / 1.61 GB, free: 65.05 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/3.662, allocations: 13.34 kB / 1.61 GB, free: 65.05 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/3.663, allocations: 23.75 kB / 1.61 GB, free: 65.05 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005754/3.663, allocations: 394 kB / 1.61 GB, free: 65.05 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/3.664, allocations: 479.5 kB / 1.611 GB, free: 64.98 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/3.664, allocations: 0 / 1.611 GB, free: 64.98 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/3.664, allocations: 0 / 1.611 GB, free: 64.98 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/3.664, allocations: 12.66 kB / 1.611 GB, free: 64.98 MB / 411.1 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.002633/3.667, allocations: 1.958 MB / 1.613 GB, free: 63.88 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/3.667, allocations: 144.7 kB / 1.613 GB, free: 63.85 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/3.667, allocations: 69.83 kB / 1.613 GB, free: 63.84 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/3.667, allocations: 8.562 kB / 1.613 GB, free: 63.84 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/3.667, allocations: 35.84 kB / 1.613 GB, free: 63.8 MB / 411.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/3.667, allocations: 5.156 kB / 1.613 GB, free: 63.8 MB / 411.1 MB Notification: Performance of matching and sorting (n=23): time 0.004423/3.671, allocations: 1.147 MB / 1.614 GB, free: 63.24 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/3.671, allocations: 57.48 kB / 1.614 GB, free: 63.17 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/3.672, allocations: 397.5 kB / 1.614 GB, free: 63.05 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/3.672, allocations: 25.7 kB / 1.615 GB, free: 63.02 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/3.672, allocations: 322.2 kB / 1.615 GB, free: 62.84 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/3.672, allocations: 83.31 kB / 1.615 GB, free: 62.8 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/3.672, allocations: 3.656 kB / 1.615 GB, free: 62.8 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 6.983e-05/3.672, allocations: 346.6 kB / 1.615 GB, free: 62.49 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/3.672, allocations: 117.8 kB / 1.615 GB, free: 62.49 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/3.673, allocations: 418.4 kB / 1.616 GB, free: 62.12 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/3.673, allocations: 209.7 kB / 1.616 GB, free: 62.12 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/3.673, allocations: 5.5 kB / 1.616 GB, free: 62.12 MB / 411.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008046/3.674, allocations: 0.5483 MB / 1.616 GB, free: 62.01 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/3.674, allocations: 11.3 kB / 1.616 GB, free: 62.01 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/3.674, allocations: 10.81 kB / 1.616 GB, free: 62.01 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/3.674, allocations: 52.25 kB / 1.617 GB, free: 62 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/3.674, allocations: 140 kB / 1.617 GB, free: 61.98 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009589/3.675, allocations: 1.806 MB / 1.618 GB, free: 60.25 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/3.676, allocations: 21.67 kB / 1.618 GB, free: 60.25 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/3.676, allocations: 37.84 kB / 1.618 GB, free: 60.25 MB / 411.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 () * 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.0001133/3.676, allocations: 134.9 kB / 1.619 GB, free: 60.13 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/3.676, allocations: 42.19 kB / 1.619 GB, free: 60.11 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/3.677, allocations: 266 kB / 1.619 GB, free: 60.05 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/3.677, allocations: 3.875 kB / 1.619 GB, free: 60.05 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/3.677, allocations: 0 / 1.619 GB, free: 60.05 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003297/3.677, allocations: 0.5066 MB / 1.619 GB, free: 59.59 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008276/3.678, allocations: 0.6401 MB / 1.62 GB, free: 59.3 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/3.678, allocations: 2.469 kB / 1.62 GB, free: 59.3 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/3.678, allocations: 53.33 kB / 1.62 GB, free: 59.3 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.768e-05/3.678, allocations: 21.95 kB / 1.62 GB, free: 59.29 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/3.678, allocations: 14.8 kB / 1.62 GB, free: 59.29 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005636/3.679, allocations: 1.228 MB / 1.621 GB, free: 58.09 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/3.679, allocations: 0 / 1.621 GB, free: 58.09 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/3.679, allocations: 401.4 kB / 1.622 GB, free: 57.92 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/3.679, allocations: 113.8 kB / 1.622 GB, free: 57.81 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/3.679, allocations: 6.562 kB / 1.622 GB, free: 57.81 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/3.68, allocations: 7.781 kB / 1.622 GB, free: 57.81 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/3.68, allocations: 21.39 kB / 1.622 GB, free: 57.8 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/3.68, allocations: 12.5 kB / 1.622 GB, free: 57.8 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002584/3.68, allocations: 292.3 kB / 1.622 GB, free: 57.72 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.6e-07/3.68, allocations: 3.5 kB / 1.622 GB, free: 57.72 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.001027/3.681, allocations: 251.7 kB / 1.622 GB, free: 57.7 MB / 411.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 () * 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.002252/3.683, allocations: 1.267 MB / 1.624 GB, free: 57.49 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005842/3.684, allocations: 406.2 kB / 1.624 GB, free: 57.37 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/3.684, allocations: 3.625 kB / 1.624 GB, free: 57.37 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/3.684, allocations: 199.8 kB / 1.624 GB, free: 57.26 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/3.685, allocations: 170 kB / 1.624 GB, free: 57.25 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/3.686, allocations: 0.6012 MB / 1.625 GB, free: 57.05 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/3.686, allocations: 0.8269 MB / 1.626 GB, free: 56.35 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0005401/3.687, allocations: 138.3 kB / 1.626 GB, free: 56.34 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/3.687, allocations: 38.94 kB / 1.626 GB, free: 56.34 MB / 411.1 MB Notification: Performance of SimCode: time 3.71e-07/3.687, allocations: 3.844 kB / 1.626 GB, free: 56.34 MB / 411.1 MB Notification: Performance of Templates: time 0.02143/3.708, allocations: 14.47 MB / 1.64 GB, free: 55.46 MB / 411.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)