Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0022/0.0022, allocations: 172.7 kB / 15.95 MB, free: 208 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.608/1.608, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3334/0.3334, allocations: 39.99 MB / 310.4 MB, free: 9.82 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.0009825/0.0009829, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1389, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01737/0.1564, allocations: 16.62 MB / 453.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2324/0.3889, allocations: 6.627 MB / 460 MB, free: 34.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008638/0.3898, allocations: 25.62 kB / 460.1 MB, free: 34.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000901/0.3907, allocations: 300.2 kB / 460.4 MB, free: 34.75 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.00155/0.3923, allocations: 0.6908 MB / 461.1 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.3953, allocations: 1.028 MB / 462.1 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002776/0.3981, allocations: 2.972 MB / 465.1 MB, free: 34.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000868/0.399, allocations: 0.5491 MB / 465.6 MB, free: 34.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.4007, allocations: 0.8978 MB / 466.5 MB, free: 34.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.402, allocations: 0.7498 MB / 467.2 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.4022, allocations: 50.44 kB / 467.3 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.4033, allocations: 300.5 kB / 467.6 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.4036, allocations: 326.1 kB / 467.9 MB, free: 33.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.4039, allocations: 204.7 kB / 468.1 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.4051, allocations: 1.073 MB / 469.2 MB, free: 33.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.4051, allocations: 3.25 kB / 469.2 MB, free: 33.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4051, allocations: 0 / 469.2 MB, free: 33.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.4051, allocations: 0 / 469.2 MB, free: 33.78 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.001799/0.4069, allocations: 1.106 MB / 470.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.407, allocations: 10.19 kB / 470.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.4074, allocations: 119.8 kB / 470.4 MB, free: 33.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.4081, allocations: 0.5761 MB / 471 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.4083, allocations: 250 kB / 471.2 MB, free: 32.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.4084, allocations: 76.59 kB / 471.3 MB, free: 32.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.4099, allocations: 1.292 MB / 472.6 MB, free: 32.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.4099, allocations: 11.33 kB / 472.6 MB, free: 32.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.661e-05/0.41, allocations: 44.2 kB / 472.7 MB, free: 32.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/0.4101, allocations: 44.88 kB / 472.7 MB, free: 32.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.4114, allocations: 0.9595 MB / 473.7 MB, free: 32.17 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.004992/0.4164, allocations: 7.094 MB / 480.8 MB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.4169, allocations: 306.7 kB / 481.1 MB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.4171, allocations: 171.2 kB / 481.2 MB, free: 27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001868/0.419, allocations: 2.828 MB / 484.1 MB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.419, allocations: 37.08 kB / 484.1 MB, free: 24.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.419, allocations: 3.312 kB / 484.1 MB, free: 24.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001926/0.421, allocations: 1.098 MB / 485.2 MB, free: 23.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.421, allocations: 61.34 kB / 485.2 MB, free: 23.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009918/0.422, allocations: 0.8697 MB / 486.1 MB, free: 23.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.4221, allocations: 37.92 kB / 486.2 MB, free: 23.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.4224, allocations: 0.5689 MB / 486.7 MB, free: 23.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/0.4225, allocations: 135.9 kB / 486.9 MB, free: 23.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.4226, allocations: 28.28 kB / 486.9 MB, free: 23.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4227, allocations: 396.8 kB / 487.3 MB, free: 22.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.4231, allocations: 241.8 kB / 487.5 MB, free: 22.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/0.4238, allocations: 0.9575 MB / 488.5 MB, free: 21.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.4244, allocations: 446.2 kB / 488.9 MB, free: 21.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.4244, allocations: 9.375 kB / 488.9 MB, free: 21.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001632/0.426, allocations: 1.191 MB / 490.1 MB, free: 21.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.4261, allocations: 16.22 kB / 490.1 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.4261, allocations: 26 kB / 490.1 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.837e-05/0.4262, allocations: 39.16 kB / 490.2 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.4269, allocations: 281.5 kB / 490.5 MB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.332e-05/0.427, allocations: 53.22 kB / 490.5 MB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/0.4277, allocations: 72.83 kB / 490.6 MB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/0.4278, allocations: 69.94 kB / 490.6 MB, free: 21.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004018/0.4282, allocations: 331.7 kB / 491 MB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.4283, allocations: 95.94 kB / 491.1 MB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008362/0.4292, allocations: 474.2 kB / 491.5 MB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4292, allocations: 7.062 kB / 491.5 MB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4292, allocations: 3.844 kB / 491.5 MB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4292, allocations: 5.078 kB / 491.5 MB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.4308, allocations: 1.243 MB / 492.8 MB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4308, allocations: 2.844 kB / 492.8 MB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.4311, allocations: 68.98 kB / 492.9 MB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.4311, allocations: 3.188 kB / 492.9 MB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.4312, allocations: 10.56 kB / 492.9 MB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.4312, allocations: 10.58 kB / 492.9 MB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4312, allocations: 0 / 492.9 MB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/0.432, allocations: 0.6487 MB / 493.5 MB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.4323, allocations: 207.3 kB / 493.7 MB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.4324, allocations: 8.188 kB / 493.7 MB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.4328, allocations: 31.78 kB / 493.8 MB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.4328, allocations: 28.47 kB / 493.8 MB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.4329, allocations: 25.03 kB / 493.8 MB, free: 19.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006094/0.4335, allocations: 0.5838 MB / 494.4 MB, free: 18.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4335, allocations: 0 / 494.4 MB, free: 18.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4346, allocations: 293.3 kB / 494.7 MB, free: 18.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005638/0.4352, allocations: 320.6 kB / 495 MB, free: 18.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009183/0.4362, allocations: 0.6295 MB / 495.6 MB, free: 18.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4362, allocations: 0 / 495.6 MB, free: 18.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.4364, allocations: 143.3 kB / 495.8 MB, free: 18.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.438, allocations: 384.6 kB / 496.2 MB, free: 18.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.441, allocations: 1.759 MB / 497.9 MB, free: 17.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008676/0.4419, allocations: 1.002 MB / 498.9 MB, free: 16.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001455/0.4434, allocations: 317.7 kB / 499.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.4436, allocations: 72.11 kB / 499.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4436, allocations: 0 / 499.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of Templates: time 0.03105/0.4747, allocations: 14.59 MB / 0.5018 GB, free: 12.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) Environment - environmentSimulation: