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.002262/0.002262, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.003327/0.003328, allocations: 189.7 kB / 16.14 MB, free: 6.703 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.431/1.431, allocations: 205.1 MB / 222 MB, free: 4.742 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.3552/0.3552, allocations: 37.97 MB / 307.3 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.001462/0.001462, allocations: 62.41 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1426, allocations: 56.47 MB / 431 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4939/0.6366, allocations: 181.8 MB / 0.5985 GB, free: 2.316 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.6522, allocations: 7.184 MB / 0.6055 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.654, allocations: 31.75 kB / 0.6055 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.6559, allocations: 378.2 kB / 0.6059 GB, free: 10.72 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009256/0.6652, allocations: 1.822 MB / 0.6077 GB, free: 8.898 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007336/0.6726, allocations: 1.51 MB / 0.6092 GB, free: 7.398 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005382/0.678, allocations: 3.132 MB / 0.6122 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.6795, allocations: 485.4 kB / 0.6127 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006627/0.6862, allocations: 1.767 MB / 0.6144 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004917/0.6911, allocations: 1.542 MB / 0.6159 GB, free: 492 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004132/0.6916, allocations: 43.94 kB / 0.6159 GB, free: 448 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006529/0.6981, allocations: 2.01 MB / 0.6179 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.6992, allocations: 410.9 kB / 0.6183 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.7004, allocations: 0.5171 MB / 0.6188 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007269/0.7077, allocations: 2.318 MB / 0.6211 GB, free: 11.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.7078, allocations: 0 / 0.6211 GB, free: 11.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7078, allocations: 4 kB / 0.6211 GB, free: 11.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.7078, allocations: 0 / 0.6211 GB, free: 11.18 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.003894/0.7117, allocations: 1.415 MB / 0.6225 GB, free: 9.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.7118, allocations: 8.031 kB / 0.6225 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.7132, allocations: 282.5 kB / 0.6227 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.7143, allocations: 0.613 MB / 0.6233 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.7144, allocations: 116.6 kB / 0.6234 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.7146, allocations: 71.92 kB / 0.6235 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.7166, allocations: 1.263 MB / 0.6247 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.7166, allocations: 3.906 kB / 0.6247 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.7167, allocations: 35.98 kB / 0.6248 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.7169, allocations: 85.27 kB / 0.6249 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.7186, allocations: 1.047 MB / 0.6259 GB, free: 6.078 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.007835/0.7265, allocations: 4.964 MB / 0.6307 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.727, allocations: 314.5 kB / 0.631 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.7273, allocations: 148.8 kB / 0.6312 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.7274, allocations: 139 kB / 0.6313 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.7275, allocations: 39.03 kB / 0.6313 GB, free: 152 kB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.477e-06/0.7275, allocations: 0 / 0.6313 GB, free: 152 kB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.2653/0.9928, allocations: 1.797 MB / 0.6331 GB, free: 163.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.9929, allocations: 139.6 kB / 0.6332 GB, free: 162.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.9939, allocations: 0.9455 MB / 0.6342 GB, free: 162.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.994, allocations: 28.89 kB / 0.6342 GB, free: 162.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.9943, allocations: 0.5625 MB / 0.6347 GB, free: 162.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/0.9944, allocations: 138.7 kB / 0.6349 GB, free: 162.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.9946, allocations: 216.3 kB / 0.6351 GB, free: 162.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.9947, allocations: 400.8 kB / 0.6355 GB, free: 162 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.9952, allocations: 282 kB / 0.6357 GB, free: 161.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/0.9958, allocations: 0.8615 MB / 0.6366 GB, free: 161.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.9969, allocations: 1.178 MB / 0.6377 GB, free: 160.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.9969, allocations: 6.188 kB / 0.6377 GB, free: 160.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001649/0.9986, allocations: 1.244 MB / 0.6389 GB, free: 159.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.9986, allocations: 12.56 kB / 0.639 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.9986, allocations: 19.91 kB / 0.639 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.9998, allocations: 289.4 kB / 0.6392 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/1, allocations: 200.4 kB / 0.6394 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009387/1.001, allocations: 0.9122 MB / 0.6403 GB, free: 159 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008252/1.002, allocations: 62.48 kB / 0.6404 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/1.002, allocations: 66.69 kB / 0.6405 GB, free: 158.9 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.0004357/1.003, allocations: 342.6 kB / 0.6408 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/1.003, allocations: 95.59 kB / 0.6409 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008344/1.004, allocations: 488 kB / 0.6413 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.004, allocations: 6.734 kB / 0.6413 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.004, allocations: 0 / 0.6413 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.004, allocations: 0 / 0.6413 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/1.005, allocations: 1.129 MB / 0.6424 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.005, allocations: 6.844 kB / 0.6424 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009708/1.006, allocations: 175 kB / 0.6426 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.472e-05/1.006, allocations: 25.42 kB / 0.6426 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/1.006, allocations: 13.75 kB / 0.6427 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/1.008, allocations: 2.687 MB / 0.6453 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.008, allocations: 0 / 0.6453 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/1.009, allocations: 0.695 MB / 0.646 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/1.009, allocations: 197.2 kB / 0.6461 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.009, allocations: 7.312 kB / 0.6462 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/1.01, allocations: 26.12 kB / 0.6462 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/1.01, allocations: 20.86 kB / 0.6462 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/1.01, allocations: 20.47 kB / 0.6462 GB, free: 154.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007903/1.011, allocations: 0.6335 MB / 0.6468 GB, free: 154.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.011, allocations: 0 / 0.6468 GB, free: 154.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001862/1.013, allocations: 433 kB / 0.6472 GB, free: 154.3 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.002382/1.015, allocations: 0.7529 MB / 0.648 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/1.017, allocations: 0.6748 MB / 0.6486 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.017, allocations: 0 / 0.6486 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009027/1.017, allocations: 372.4 kB / 0.649 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.02, allocations: 419.5 kB / 0.6494 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/1.022, allocations: 1.899 MB / 0.6513 GB, free: 152.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/1.023, allocations: 1.035 MB / 0.6523 GB, free: 151.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001201/1.024, allocations: 312.6 kB / 0.6526 GB, free: 151.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/1.024, allocations: 69.8 kB / 0.6526 GB, free: 151.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.753e-06/1.024, allocations: 0 / 0.6526 GB, free: 151.7 MB / 494.1 MB Notification: Performance of Templates: time 0.0472/1.072, allocations: 21.41 MB / 0.6735 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)