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.001187/0.001187, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001246/0.001246, allocations: 195.7 kB / 16.25 MB, free: 6.629 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.443/1.443, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.3233/0.3233, allocations: 39.93 MB / 309.4 MB, free: 9.277 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.001392/0.001392, allocations: 63.91 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 56.88 MB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01836/0.1315, allocations: 18.11 MB / 452.1 MB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2051/0.3367, allocations: 7.041 MB / 459.1 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.3383, allocations: 28.5 kB / 459.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.3399, allocations: 332.9 kB / 459.5 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002565/0.3425, allocations: 0.6259 MB / 460.1 MB, free: 35.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.3464, allocations: 1.238 MB / 461.4 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003523/0.3499, allocations: 2.514 MB / 463.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.351, allocations: 0.6737 MB / 464.5 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.3536, allocations: 1.028 MB / 465.6 MB, free: 35.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.3549, allocations: 0.8009 MB / 466.4 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3551, allocations: 91.31 kB / 466.5 MB, free: 35.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.3565, allocations: 0.5427 MB / 467 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.3568, allocations: 378.9 kB / 467.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.3574, allocations: 0.524 MB / 467.9 MB, free: 35.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.3592, allocations: 1.529 MB / 469.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3592, allocations: 0 / 469.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3592, allocations: 0 / 469.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.3592, allocations: 0 / 469.4 MB, free: 34.84 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.002023/0.3613, allocations: 1.297 MB / 470.7 MB, free: 34.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3613, allocations: 13.23 kB / 470.7 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.3618, allocations: 119.4 kB / 470.9 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.3625, allocations: 0.5833 MB / 471.4 MB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.3626, allocations: 251.6 kB / 471.7 MB, free: 33.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.3627, allocations: 76.53 kB / 471.8 MB, free: 33.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.3643, allocations: 1.308 MB / 473.1 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.3643, allocations: 8.375 kB / 473.1 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.614e-05/0.3644, allocations: 43.59 kB / 473.1 MB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.3644, allocations: 35.97 kB / 473.2 MB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3657, allocations: 0.9673 MB / 474.1 MB, free: 32.29 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.00486/0.3706, allocations: 7.078 MB / 481.2 MB, free: 26.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.3711, allocations: 313.9 kB / 481.5 MB, free: 26.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.3713, allocations: 177.2 kB / 481.7 MB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001812/0.3731, allocations: 2.824 MB / 484.5 MB, free: 23.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.3732, allocations: 41.25 kB / 484.5 MB, free: 23.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.3732, allocations: 0 / 484.5 MB, free: 23.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001923/0.3751, allocations: 1.105 MB / 485.6 MB, free: 22.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.3751, allocations: 58.62 kB / 485.7 MB, free: 22.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007802/0.3759, allocations: 0.8739 MB / 486.6 MB, free: 22.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.376, allocations: 32.36 kB / 486.6 MB, free: 22.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.3762, allocations: 0.5722 MB / 487.2 MB, free: 21.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.3763, allocations: 139.7 kB / 487.3 MB, free: 21.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.3765, allocations: 238.2 kB / 487.5 MB, free: 21.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.3766, allocations: 401.2 kB / 487.9 MB, free: 21.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.3769, allocations: 248.6 kB / 488.2 MB, free: 21.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.3774, allocations: 0.9635 MB / 489.1 MB, free: 19.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000929/0.3784, allocations: 1.323 MB / 490.5 MB, free: 18.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.3784, allocations: 8.844 kB / 490.5 MB, free: 18.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001448/0.3798, allocations: 1.208 MB / 491.7 MB, free: 18.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3799, allocations: 20 kB / 491.7 MB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.3799, allocations: 28.09 kB / 491.7 MB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/0.3799, allocations: 34.88 kB / 491.8 MB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.3806, allocations: 272.1 kB / 492 MB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/0.3807, allocations: 49.66 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.3814, allocations: 74.48 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.3815, allocations: 78.75 kB / 492.2 MB, free: 18.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003761/0.3819, allocations: 341.2 kB / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.382, allocations: 84.78 kB / 492.6 MB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007488/0.3827, allocations: 481.1 kB / 493.1 MB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3827, allocations: 3.156 kB / 493.1 MB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3828, allocations: 3.938 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3828, allocations: 7.219 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.3841, allocations: 1.236 MB / 494.4 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3841, allocations: 3.188 kB / 494.4 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.3844, allocations: 69.73 kB / 494.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3844, allocations: 7.219 kB / 494.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3844, allocations: 14.03 kB / 494.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.3844, allocations: 10.02 kB / 494.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3844, allocations: 0 / 494.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.3852, allocations: 0.6463 MB / 495.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.3854, allocations: 214.1 kB / 495.3 MB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3855, allocations: 8.594 kB / 495.3 MB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.3859, allocations: 19.52 kB / 495.4 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3859, allocations: 25.88 kB / 495.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.386, allocations: 27.11 kB / 495.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006711/0.3867, allocations: 0.5941 MB / 496 MB, free: 15.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3867, allocations: 0 / 496 MB, free: 15.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001176/0.3879, allocations: 301.8 kB / 496.3 MB, free: 15.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007278/0.3886, allocations: 326.7 kB / 496.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3898, allocations: 0.6711 MB / 497.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3898, allocations: 1.281 kB / 497.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.3901, allocations: 147.2 kB / 497.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.392, allocations: 424.2 kB / 497.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.3945, allocations: 1.757 MB / 499.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.395, allocations: 0.9976 MB / 0.4889 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001062/0.3961, allocations: 324.1 kB / 0.4892 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.3962, allocations: 72.67 kB / 0.4892 GB, free: 13.44 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3963, allocations: 0 / 0.4892 GB, free: 13.44 MB / 382.1 MB Notification: Performance of Templates: time 0.03469/0.431, allocations: 15.85 MB / 0.5047 GB, free: 9.145 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (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)