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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001309/0.001309, allocations: 189.4 kB / 16.25 MB, free: 6.586 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.373/1.373, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.358/0.358, allocations: 37.98 MB / 307.4 MB, free: 10.05 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.1. 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.001488/0.001488, allocations: 62.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1395, allocations: 56.47 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5197/0.6593, allocations: 181.4 MB / 0.5983 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.671, allocations: 7.058 MB / 0.6052 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.6724, allocations: 31.75 kB / 0.6052 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.6741, allocations: 370.2 kB / 0.6056 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007023/0.6812, allocations: 1.871 MB / 0.6074 GB, free: 9.266 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.6862, allocations: 1.572 MB / 0.6089 GB, free: 7.703 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003115/0.6893, allocations: 2.114 MB / 0.611 GB, free: 5.586 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.6905, allocations: 0.5391 MB / 0.6115 GB, free: 5.051 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.6952, allocations: 1.874 MB / 0.6133 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.6982, allocations: 1.577 MB / 0.6149 GB, free: 1.594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003058/0.6985, allocations: 76 kB / 0.615 GB, free: 1.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/0.7027, allocations: 1.877 MB / 0.6168 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006301/0.7033, allocations: 446.9 kB / 0.6172 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.7044, allocations: 0.5639 MB / 0.6178 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.7091, allocations: 2.357 MB / 0.6201 GB, free: 12.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.7091, allocations: 3.984 kB / 0.6201 GB, free: 12.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7091, allocations: 0 / 0.6201 GB, free: 12.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.85e-05/0.7092, allocations: 0 / 0.6201 GB, free: 12.27 MB / 494.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.003807/0.713, allocations: 1.411 MB / 0.6215 GB, free: 10.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.713, allocations: 11.89 kB / 0.6215 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.7146, allocations: 286.5 kB / 0.6217 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.7158, allocations: 0.6052 MB / 0.6223 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.7159, allocations: 120.6 kB / 0.6224 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.7161, allocations: 63.98 kB / 0.6225 GB, free: 9.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.7181, allocations: 1.263 MB / 0.6237 GB, free: 8.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.7181, allocations: 15.84 kB / 0.6238 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.7183, allocations: 28 kB / 0.6238 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-05/0.7183, allocations: 77.27 kB / 0.6239 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.72, allocations: 1.056 MB / 0.6249 GB, free: 7.172 MB / 494.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.006624/0.7266, allocations: 4.975 MB / 0.6297 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.7271, allocations: 302.6 kB / 0.63 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.7273, allocations: 144.7 kB / 0.6302 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.7275, allocations: 135 kB / 0.6303 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.7276, allocations: 46.95 kB / 0.6303 GB, free: 1.246 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.216e-06/0.7276, allocations: 0 / 0.6303 GB, free: 1.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.2661/0.9936, allocations: 1.815 MB / 0.6321 GB, free: 163.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.9937, allocations: 131.7 kB / 0.6322 GB, free: 163.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009944/0.9947, allocations: 0.9377 MB / 0.6332 GB, free: 163.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.9948, allocations: 35.48 kB / 0.6332 GB, free: 163 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.995, allocations: 0.5674 MB / 0.6337 GB, free: 162.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.9951, allocations: 129 kB / 0.6339 GB, free: 162.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.9954, allocations: 215.5 kB / 0.6341 GB, free: 162.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9955, allocations: 403.6 kB / 0.6345 GB, free: 162.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.996, allocations: 270.4 kB / 0.6347 GB, free: 162.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.9966, allocations: 0.8716 MB / 0.6356 GB, free: 161.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/0.9976, allocations: 1.181 MB / 0.6367 GB, free: 160.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.9976, allocations: 3.375 kB / 0.6367 GB, free: 160.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001506/0.9991, allocations: 1.24 MB / 0.6379 GB, free: 160.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.9992, allocations: 16.31 kB / 0.6379 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.9992, allocations: 19.34 kB / 0.638 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/1, allocations: 286.4 kB / 0.6382 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/1.001, allocations: 205.3 kB / 0.6384 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009561/1.002, allocations: 0.9059 MB / 0.6393 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/1.003, allocations: 58.3 kB / 0.6394 GB, free: 159.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/1.003, allocations: 72.56 kB / 0.6394 GB, free: 159.3 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004041/1.003, allocations: 351.2 kB / 0.6398 GB, free: 159.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/1.003, allocations: 94.03 kB / 0.6399 GB, free: 159.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007921/1.004, allocations: 479.6 kB / 0.6403 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.004, allocations: 3.156 kB / 0.6403 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.004, allocations: 0 / 0.6403 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/1.004, allocations: 7.281 kB / 0.6403 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/1.005, allocations: 1.128 MB / 0.6414 GB, free: 158.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.006, allocations: 3.188 kB / 0.6414 GB, free: 158.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008829/1.006, allocations: 185 kB / 0.6416 GB, free: 158.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.161e-05/1.006, allocations: 29.39 kB / 0.6416 GB, free: 158.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/1.007, allocations: 10.03 kB / 0.6417 GB, free: 158.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/1.008, allocations: 2.865 MB / 0.6445 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.008, allocations: 6.234 kB / 0.6445 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008309/1.009, allocations: 0.6995 MB / 0.6451 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/1.009, allocations: 194.5 kB / 0.6453 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.009, allocations: 11.19 kB / 0.6453 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/1.01, allocations: 31.81 kB / 0.6454 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/1.01, allocations: 22.89 kB / 0.6454 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/1.01, allocations: 23.36 kB / 0.6454 GB, free: 154.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006488/1.01, allocations: 0.6249 MB / 0.646 GB, free: 154.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.01, allocations: 0 / 0.646 GB, free: 154.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001372/1.012, allocations: 435.8 kB / 0.6464 GB, free: 154.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001922/1.014, allocations: 0.7583 MB / 0.6472 GB, free: 154.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/1.015, allocations: 0.7178 MB / 0.6479 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.015, allocations: 4.25 kB / 0.6479 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000789/1.016, allocations: 367.4 kB / 0.6482 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/1.017, allocations: 443 kB / 0.6487 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/1.02, allocations: 1.895 MB / 0.6505 GB, free: 152.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/1.02, allocations: 1.03 MB / 0.6515 GB, free: 152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008567/1.021, allocations: 311.1 kB / 0.6518 GB, free: 151.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/1.021, allocations: 73.64 kB / 0.6519 GB, free: 151.9 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/1.021, allocations: 0 / 0.6519 GB, free: 151.9 MB / 494.1 MB Notification: Performance of Templates: time 0.03455/1.056, allocations: 22.01 MB / 0.6734 GB, free: 147.9 MB / 494.1 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)