Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.000922, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001332/0.001332, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.3186/0.3186, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0006509/0.000651, allocations: 19.98 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1209, allocations: 57.52 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.2467/0.3676, allocations: 28.16 MB / 462.1 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.3731, allocations: 4.416 MB / 466.5 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008178/0.374, allocations: 24.16 kB / 466.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008011/0.3748, allocations: 241.7 kB / 466.8 MB, free: 33.88 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00419/0.379, allocations: 1.57 MB / 468.4 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003032/0.382, allocations: 1.215 MB / 469.6 MB, free: 33.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.384, allocations: 2.245 MB / 471.8 MB, free: 33.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.3845, allocations: 395.5 kB / 472.2 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004502/0.389, allocations: 3.18 MB / 475.4 MB, free: 32.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.3908, allocations: 1.327 MB / 476.7 MB, free: 32.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3909, allocations: 30.78 kB / 476.8 MB, free: 32.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.3934, allocations: 1.279 MB / 478 MB, free: 32.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.3937, allocations: 243.5 kB / 478.3 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.3939, allocations: 163.5 kB / 478.4 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.3952, allocations: 1.062 MB / 479.5 MB, free: 32.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3952, allocations: 2.625 kB / 479.5 MB, free: 32.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3952, allocations: 0 / 479.5 MB, free: 32.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.3952, allocations: 0 / 479.5 MB, free: 32.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00166/0.3969, allocations: 1 MB / 480.5 MB, free: 31.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3969, allocations: 9.719 kB / 480.5 MB, free: 31.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00088/0.3978, allocations: 141.4 kB / 480.6 MB, free: 31.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.3984, allocations: 0.4981 MB / 481.1 MB, free: 31.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/0.3985, allocations: 104.6 kB / 481.2 MB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.3986, allocations: 47.94 kB / 481.3 MB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.3997, allocations: 0.8305 MB / 482.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3997, allocations: 6.844 kB / 482.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.3998, allocations: 24.94 kB / 482.2 MB, free: 31.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.3999, allocations: 44.02 kB / 482.2 MB, free: 31.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009448/0.4008, allocations: 0.6026 MB / 482.8 MB, free: 31.27 MB / 382.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.003564/0.4044, allocations: 4.901 MB / 487.7 MB, free: 27.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.4049, allocations: 328.2 kB / 488 MB, free: 27.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.4051, allocations: 152 kB / 488.2 MB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.4054, allocations: 0.6177 MB / 488.8 MB, free: 26.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.4055, allocations: 41.44 kB / 488.8 MB, free: 26.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.4055, allocations: 0 / 488.8 MB, free: 26.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003291/0.4088, allocations: 1.526 MB / 490.4 MB, free: 25.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.4088, allocations: 139.4 kB / 490.5 MB, free: 25.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.4094, allocations: 0.6449 MB / 491.1 MB, free: 25.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.4095, allocations: 33.7 kB / 491.2 MB, free: 25.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.4097, allocations: 389.6 kB / 491.5 MB, free: 24.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.4098, allocations: 138.8 kB / 491.7 MB, free: 24.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.4098, allocations: 15.28 kB / 491.7 MB, free: 24.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.4099, allocations: 375.6 kB / 492.1 MB, free: 24.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.4102, allocations: 202.3 kB / 492.3 MB, free: 24.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.4106, allocations: 0.4942 MB / 492.8 MB, free: 23.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.411, allocations: 295.8 kB / 493 MB, free: 23.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.411, allocations: 2.781 kB / 493 MB, free: 23.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001184/0.4122, allocations: 0.8644 MB / 493.9 MB, free: 23.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4122, allocations: 9.281 kB / 493.9 MB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.4122, allocations: 9.25 kB / 493.9 MB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4134, allocations: 288.3 kB / 494.2 MB, free: 23.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.4137, allocations: 127.1 kB / 494.3 MB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008903/0.4146, allocations: 1.401 MB / 495.7 MB, free: 22.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.4151, allocations: 32.7 kB / 495.8 MB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.4151, allocations: 45.89 kB / 495.8 MB, free: 22.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002771/0.4154, allocations: 254.6 kB / 496.1 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.4155, allocations: 72.73 kB / 496.1 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.4169, allocations: 0.6453 MB / 496.8 MB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.417, allocations: 9.156 kB / 496.8 MB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.417, allocations: 0 / 496.8 MB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.417, allocations: 5.281 kB / 496.8 MB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.4187, allocations: 1.232 MB / 498 MB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4188, allocations: 4.547 kB / 498 MB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.4189, allocations: 42.05 kB / 498.1 MB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008092/0.4198, allocations: 209.2 kB / 498.3 MB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.4198, allocations: 14.58 kB / 498.3 MB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008107/0.4206, allocations: 1.297 MB / 499.6 MB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4206, allocations: 0.6094 kB / 499.6 MB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4219, allocations: 0.8064 MB / 0.4887 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.4221, allocations: 197.3 kB / 0.4889 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/0.4222, allocations: 12.67 kB / 0.4889 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.4226, allocations: 22.73 kB / 0.4889 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.4227, allocations: 29.02 kB / 0.4889 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.4227, allocations: 25.75 kB / 0.4889 GB, free: 19.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005875/0.4233, allocations: 443.9 kB / 0.4894 GB, free: 18.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.4233, allocations: 1.75 kB / 0.4894 GB, free: 18.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001164/0.4245, allocations: 300.3 kB / 0.4897 GB, free: 18.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * Single equations (assignments): 23 * 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 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007677/0.4253, allocations: 349.4 kB / 0.49 GB, free: 18.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.4264, allocations: 0.5111 MB / 0.4905 GB, free: 18.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4264, allocations: 0 / 0.4905 GB, free: 18.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00048/0.4269, allocations: 229.7 kB / 0.4907 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4283, allocations: 306.4 kB / 0.491 GB, free: 18.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.4307, allocations: 1.477 MB / 0.4924 GB, free: 17.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.4312, allocations: 0.9373 MB / 0.4934 GB, free: 16.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006917/0.4319, allocations: 214 kB / 0.4936 GB, free: 16.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.432, allocations: 56.17 kB / 0.4936 GB, free: 16.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.432, allocations: 0.625 kB / 0.4936 GB, free: 16.81 MB / 382.1 MB Notification: Performance of Templates: time 0.02341/0.4555, allocations: 14.82 MB / 0.5081 GB, free: 11.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) Environment - environmentSimulation: