Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.00169/0.00169, 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.001188/0.001188, allocations: 193 kB / 16.14 MB, free: 6.711 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.403/1.403, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3518/0.3518, allocations: 39.93 MB / 309.3 MB, free: 9.387 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.2. 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.001421/0.001421, allocations: 66.56 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1298, allocations: 56.89 MB / 433.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4837/0.6136, allocations: 181.8 MB / 0.6012 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.6246, allocations: 7.196 MB / 0.6082 GB, free: 6.871 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.6259, allocations: 27.75 kB / 0.6083 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.6273, allocations: 374.2 kB / 0.6086 GB, free: 6.477 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.6327, allocations: 1.827 MB / 0.6104 GB, free: 4.648 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.6377, allocations: 1.511 MB / 0.6119 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00426/0.642, allocations: 3.121 MB / 0.6149 GB, free: 24 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000917/0.6429, allocations: 489.3 kB / 0.6154 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/0.6479, allocations: 1.767 MB / 0.6171 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/0.6512, allocations: 1.538 MB / 0.6186 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.6515, allocations: 39.94 kB / 0.6187 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/0.656, allocations: 2.015 MB / 0.6206 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005055/0.6565, allocations: 410.9 kB / 0.621 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.6574, allocations: 0.5133 MB / 0.6215 GB, free: 9.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004042/0.6614, allocations: 2.322 MB / 0.6238 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6614, allocations: 4 kB / 0.6238 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.6615, allocations: 4 kB / 0.6238 GB, free: 6.926 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.6615, allocations: 0 / 0.6238 GB, free: 6.926 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.003092/0.6646, allocations: 1.415 MB / 0.6252 GB, free: 5.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6646, allocations: 12.03 kB / 0.6252 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.6661, allocations: 274.6 kB / 0.6255 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.6672, allocations: 0.6129 MB / 0.6261 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.6674, allocations: 120.6 kB / 0.6262 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.6675, allocations: 67.98 kB / 0.6262 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.6696, allocations: 1.268 MB / 0.6275 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.6696, allocations: 3.938 kB / 0.6275 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.6698, allocations: 35.94 kB / 0.6275 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.6699, allocations: 85.27 kB / 0.6276 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.6716, allocations: 1.047 MB / 0.6286 GB, free: 1.828 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.2929/0.9645, allocations: 4.965 MB / 0.6335 GB, free: 159.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.9649, allocations: 306.5 kB / 0.6338 GB, free: 159.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.9651, allocations: 139.7 kB / 0.6339 GB, free: 159.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.9653, allocations: 136.7 kB / 0.634 GB, free: 159.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.9653, allocations: 51.34 kB / 0.6341 GB, free: 159.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.9653, allocations: 0 / 0.6341 GB, free: 159.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.005762/0.9711, allocations: 1.804 MB / 0.6358 GB, free: 158.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.9711, allocations: 135 kB / 0.636 GB, free: 158.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009657/0.9721, allocations: 0.9367 MB / 0.6369 GB, free: 158.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.9722, allocations: 36.89 kB / 0.6369 GB, free: 158.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.9725, allocations: 0.5617 MB / 0.6375 GB, free: 157.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.9726, allocations: 139.7 kB / 0.6376 GB, free: 157.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.9728, allocations: 214.5 kB / 0.6378 GB, free: 157.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.9729, allocations: 403.3 kB / 0.6382 GB, free: 157.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.9733, allocations: 273.2 kB / 0.6384 GB, free: 157 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.9739, allocations: 0.868 MB / 0.6393 GB, free: 156.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.9749, allocations: 1.173 MB / 0.6404 GB, free: 155.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.9749, allocations: 6.656 kB / 0.6404 GB, free: 155.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00155/0.9765, allocations: 1.239 MB / 0.6417 GB, free: 154.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.9765, allocations: 14.44 kB / 0.6417 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.9765, allocations: 22.89 kB / 0.6417 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.9777, allocations: 288.8 kB / 0.642 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.9782, allocations: 202.6 kB / 0.6422 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008206/0.979, allocations: 0.9145 MB / 0.6431 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.9797, allocations: 65.05 kB / 0.6431 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.9798, allocations: 66.62 kB / 0.6432 GB, free: 154 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.0003574/0.9802, allocations: 343.4 kB / 0.6435 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.9803, allocations: 93.12 kB / 0.6436 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008001/0.9811, allocations: 482.5 kB / 0.6441 GB, free: 153.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.9811, allocations: 7.156 kB / 0.6441 GB, free: 153.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9811, allocations: 0 / 0.6441 GB, free: 153.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9812, allocations: 6.484 kB / 0.6441 GB, free: 153.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.9826, allocations: 1.119 MB / 0.6452 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.9826, allocations: 5.469 kB / 0.6452 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/0.9835, allocations: 183.2 kB / 0.6453 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.562e-05/0.9836, allocations: 25.08 kB / 0.6454 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.9836, allocations: 11.25 kB / 0.6454 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.985, allocations: 2.688 MB / 0.648 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.985, allocations: 0 / 0.648 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/0.9859, allocations: 0.6863 MB / 0.6487 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.9862, allocations: 205.8 kB / 0.6489 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.9863, allocations: 10.41 kB / 0.6489 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.9867, allocations: 31.42 kB / 0.6489 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.9868, allocations: 24.61 kB / 0.6489 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.9868, allocations: 26.91 kB / 0.649 GB, free: 149.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006469/0.9875, allocations: 0.6207 MB / 0.6496 GB, free: 149.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9875, allocations: 0 / 0.6496 GB, free: 149.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001454/0.989, allocations: 432.1 kB / 0.65 GB, free: 149.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.001978/0.9909, allocations: 0.7586 MB / 0.6507 GB, free: 149.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.9921, allocations: 0.6714 MB / 0.6514 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9922, allocations: 0 / 0.6514 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.993, allocations: 372.1 kB / 0.6517 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.9947, allocations: 405.5 kB / 0.6521 GB, free: 148.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.9969, allocations: 1.907 MB / 0.654 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.9973, allocations: 1.027 MB / 0.655 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009551/0.9982, allocations: 325.6 kB / 0.6553 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.9984, allocations: 75.94 kB / 0.6554 GB, free: 146.7 MB / 494.1 MB Notification: Performance of SimCode: time 7.02e-07/0.9984, allocations: 0 / 0.6554 GB, free: 146.7 MB / 494.1 MB Notification: Performance of Templates: time 0.03919/1.038, allocations: 21.4 MB / 0.6763 GB, free: 142.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)