Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0009936/0.0009935, allocations: 91.84 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.0009957/0.0009956, 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.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3338/0.3338, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0005686/0.0005688, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 57.52 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01737/0.1381, allocations: 16.61 MB / 450.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2178/0.3559, allocations: 6.626 MB / 457.2 MB, free: 34.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007597/0.3567, allocations: 22.5 kB / 457.2 MB, free: 34.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008005/0.3576, allocations: 313.5 kB / 457.5 MB, free: 34.03 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.001136/0.3587, allocations: 0.6824 MB / 458.2 MB, free: 34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.3612, allocations: 1.038 MB / 459.2 MB, free: 33.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002376/0.3636, allocations: 2.968 MB / 462.2 MB, free: 33.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006155/0.3642, allocations: 0.5531 MB / 462.8 MB, free: 33.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.3654, allocations: 0.8877 MB / 463.7 MB, free: 33.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007737/0.3662, allocations: 0.7492 MB / 464.4 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.3663, allocations: 47.5 kB / 464.5 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.3672, allocations: 304.7 kB / 464.8 MB, free: 33.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.3674, allocations: 325 kB / 465.1 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.3676, allocations: 204 kB / 465.3 MB, free: 33.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008493/0.3685, allocations: 1.08 MB / 466.3 MB, free: 33.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3685, allocations: 0 / 466.3 MB, free: 33.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3685, allocations: 0 / 466.3 MB, free: 33.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3685, allocations: 0 / 466.3 MB, free: 33.33 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.001695/0.3702, allocations: 1.103 MB / 467.5 MB, free: 32.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3702, allocations: 9.406 kB / 467.5 MB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003874/0.3706, allocations: 120.3 kB / 467.6 MB, free: 32.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.3713, allocations: 0.5784 MB / 468.2 MB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.3715, allocations: 245.2 kB / 468.4 MB, free: 32.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.893e-05/0.3716, allocations: 78.42 kB / 468.5 MB, free: 32.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.3731, allocations: 1.297 MB / 469.8 MB, free: 31.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.3731, allocations: 3.938 kB / 469.8 MB, free: 31.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.3732, allocations: 45.5 kB / 469.8 MB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.3733, allocations: 50.12 kB / 469.9 MB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3746, allocations: 0.9551 MB / 470.8 MB, free: 31.72 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.004832/0.3794, allocations: 7.095 MB / 477.9 MB, free: 26.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.3798, allocations: 309.6 kB / 478.2 MB, free: 26.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3801, allocations: 178.4 kB / 478.4 MB, free: 26.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001747/0.3818, allocations: 2.808 MB / 481.2 MB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3819, allocations: 39.64 kB / 481.2 MB, free: 23.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.3819, allocations: 4 kB / 481.2 MB, free: 23.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001894/0.3838, allocations: 1.109 MB / 482.4 MB, free: 23.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.3838, allocations: 57.53 kB / 482.4 MB, free: 23.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/0.3847, allocations: 0.864 MB / 483.3 MB, free: 23.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.3847, allocations: 32.73 kB / 483.3 MB, free: 23.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.385, allocations: 0.5695 MB / 483.9 MB, free: 22.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.3851, allocations: 140.2 kB / 484 MB, free: 22.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3852, allocations: 24.97 kB / 484 MB, free: 22.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3853, allocations: 400 kB / 484.4 MB, free: 22.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.3856, allocations: 237.6 kB / 484.7 MB, free: 22.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/0.3862, allocations: 0.9565 MB / 485.6 MB, free: 21.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.3868, allocations: 453.1 kB / 486.1 MB, free: 21.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.3868, allocations: 6.375 kB / 486.1 MB, free: 21.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001404/0.3882, allocations: 1.193 MB / 487.3 MB, free: 21.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3882, allocations: 16.75 kB / 487.3 MB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.3883, allocations: 27.84 kB / 487.3 MB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.731e-05/0.3883, allocations: 41.22 kB / 487.3 MB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.389, allocations: 274.2 kB / 487.6 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.973e-05/0.389, allocations: 53.08 kB / 487.7 MB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/0.3896, allocations: 66.64 kB / 487.7 MB, free: 21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.3897, allocations: 76.09 kB / 487.8 MB, free: 21 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.0003184/0.3901, allocations: 338.7 kB / 488.1 MB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3902, allocations: 94.53 kB / 488.2 MB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007179/0.3909, allocations: 490.6 kB / 488.7 MB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3909, allocations: 3.312 kB / 488.7 MB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3909, allocations: 1.406 kB / 488.7 MB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3909, allocations: 3.422 kB / 488.7 MB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.3924, allocations: 1.25 MB / 490 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3924, allocations: 4.859 kB / 490 MB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.3926, allocations: 63.75 kB / 490 MB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3926, allocations: 6.328 kB / 490 MB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3927, allocations: 13.38 kB / 490 MB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3927, allocations: 4.625 kB / 490 MB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3927, allocations: 4 kB / 490.1 MB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.3934, allocations: 0.6532 MB / 490.7 MB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.3937, allocations: 206.2 kB / 490.9 MB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.3938, allocations: 9.656 kB / 490.9 MB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.3941, allocations: 26.48 kB / 490.9 MB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.3942, allocations: 26.19 kB / 491 MB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.3942, allocations: 34.09 kB / 491 MB, free: 19.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006275/0.3949, allocations: 0.5824 MB / 491.6 MB, free: 19.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3949, allocations: 0 / 491.6 MB, free: 19.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001025/0.3959, allocations: 291.8 kB / 491.9 MB, free: 19.6 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.0005482/0.3965, allocations: 308.6 kB / 492.2 MB, free: 19.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007866/0.3973, allocations: 0.6312 MB / 492.8 MB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3973, allocations: 7.219 kB / 492.8 MB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3975, allocations: 136.9 kB / 492.9 MB, free: 19.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.399, allocations: 377.4 kB / 493.3 MB, free: 19.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.4009, allocations: 1.753 MB / 495.1 MB, free: 18.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.4013, allocations: 1.006 MB / 496.1 MB, free: 17.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008738/0.4022, allocations: 310.6 kB / 496.4 MB, free: 17.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.4023, allocations: 77.73 kB / 496.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4023, allocations: 0 / 496.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of Templates: time 0.02887/0.4312, allocations: 14.59 MB / 0.4991 GB, free: 14.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) Environment - environmentSimulation: