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.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.54/1.54, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.322/0.322, allocations: 39.94 MB / 309.7 MB, free: 9.359 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.001527/0.001527, allocations: 70.41 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1249, allocations: 56.89 MB / 434.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01911/0.1441, allocations: 17.61 MB / 452.1 MB, free: 2.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2132/0.3573, allocations: 6.991 MB / 459.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009227/0.3583, allocations: 21.66 kB / 459.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.3594, allocations: 376.5 kB / 459.5 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.361, allocations: 0.6727 MB / 460.2 MB, free: 35.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.3645, allocations: 1.325 MB / 461.5 MB, free: 35.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.368, allocations: 2.508 MB / 464 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.3695, allocations: 0.6731 MB / 464.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.3722, allocations: 1.025 MB / 465.7 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.3732, allocations: 0.7483 MB / 466.4 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.3734, allocations: 92.31 kB / 466.5 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.3751, allocations: 0.5329 MB / 467.1 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004089/0.3755, allocations: 372.5 kB / 467.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006872/0.3762, allocations: 0.5123 MB / 467.9 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.3779, allocations: 1.524 MB / 469.5 MB, free: 35.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3779, allocations: 3.328 kB / 469.5 MB, free: 35.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3779, allocations: 0 / 469.5 MB, free: 35.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.378, allocations: 0 / 469.5 MB, free: 35.08 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.002183/0.3802, allocations: 1.284 MB / 470.8 MB, free: 34.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3802, allocations: 12.92 kB / 470.8 MB, free: 34.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004517/0.3807, allocations: 127.2 kB / 470.9 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.3814, allocations: 0.5806 MB / 471.5 MB, free: 33.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.3816, allocations: 253.5 kB / 471.7 MB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3817, allocations: 74.19 kB / 471.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.3833, allocations: 1.315 MB / 473.1 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.3833, allocations: 7 kB / 473.1 MB, free: 33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.601e-05/0.3834, allocations: 39.16 kB / 473.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.3835, allocations: 45.28 kB / 473.2 MB, free: 32.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.3848, allocations: 0.9668 MB / 474.2 MB, free: 32.64 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.006045/0.3908, allocations: 7.084 MB / 481.3 MB, free: 26.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.3915, allocations: 317.6 kB / 481.6 MB, free: 26.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.3917, allocations: 173.8 kB / 481.7 MB, free: 26.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/0.3938, allocations: 2.821 MB / 484.6 MB, free: 23.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3938, allocations: 45.83 kB / 484.6 MB, free: 23.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/0.3938, allocations: 0.6562 kB / 484.6 MB, free: 23.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002018/0.3959, allocations: 1.112 MB / 485.7 MB, free: 22.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.3959, allocations: 54.81 kB / 485.8 MB, free: 22.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/0.3967, allocations: 0.8713 MB / 486.6 MB, free: 22.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3968, allocations: 39.64 kB / 486.7 MB, free: 22.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.397, allocations: 0.5672 MB / 487.2 MB, free: 22.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.3971, allocations: 135.7 kB / 487.4 MB, free: 21.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.3973, allocations: 241.2 kB / 487.6 MB, free: 21.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.3974, allocations: 400.4 kB / 488 MB, free: 21.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.3978, allocations: 253 kB / 488.2 MB, free: 21.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.3983, allocations: 0.9597 MB / 489.2 MB, free: 20.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009775/0.3993, allocations: 1.329 MB / 490.5 MB, free: 19.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.3993, allocations: 9 kB / 490.5 MB, free: 19.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001499/0.4008, allocations: 1.208 MB / 491.8 MB, free: 18.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.4009, allocations: 22.22 kB / 491.8 MB, free: 18.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.4009, allocations: 24 kB / 491.8 MB, free: 18.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.073e-05/0.401, allocations: 33.62 kB / 491.8 MB, free: 18.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/0.4016, allocations: 284.1 kB / 492.1 MB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.292e-05/0.4017, allocations: 53.31 kB / 492.2 MB, free: 18.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.4023, allocations: 51.44 kB / 492.2 MB, free: 18.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.4024, allocations: 72.62 kB / 492.3 MB, free: 18.45 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.0003645/0.4028, allocations: 336.4 kB / 492.6 MB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.4029, allocations: 85.66 kB / 492.7 MB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.4037, allocations: 471.8 kB / 493.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4037, allocations: 3.094 kB / 493.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4037, allocations: 0 / 493.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4037, allocations: 3.125 kB / 493.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.4051, allocations: 1.248 MB / 494.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4051, allocations: 3 kB / 494.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.4053, allocations: 66.05 kB / 494.5 MB, free: 17.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.4054, allocations: 7.344 kB / 494.5 MB, free: 17.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.4054, allocations: 13.56 kB / 494.5 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4054, allocations: 3.156 kB / 494.5 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4054, allocations: 3.938 kB / 494.5 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.4061, allocations: 0.6429 MB / 495.1 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.4064, allocations: 206.1 kB / 495.3 MB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.914e-05/0.4065, allocations: 8.406 kB / 495.4 MB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.4068, allocations: 20.39 kB / 495.4 MB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.4069, allocations: 26.59 kB / 495.4 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.4069, allocations: 25.3 kB / 495.4 MB, free: 16.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006781/0.4076, allocations: 0.5922 MB / 496 MB, free: 16.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4076, allocations: 0.7188 kB / 496 MB, free: 16.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001206/0.4088, allocations: 297.8 kB / 496.3 MB, free: 16.27 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.0006331/0.4095, allocations: 344.2 kB / 496.6 MB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.4106, allocations: 0.6688 MB / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4106, allocations: 1.125 kB / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.4108, allocations: 144.6 kB / 497.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.4126, allocations: 427.2 kB / 497.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.4147, allocations: 1.495 MB / 499.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.4152, allocations: 0.9958 MB / 0.4886 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001029/0.4163, allocations: 321.1 kB / 0.4889 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.4164, allocations: 77.44 kB / 0.489 GB, free: 14.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4164, allocations: 0 / 0.489 GB, free: 14.09 MB / 382.1 MB Notification: Performance of Templates: time 0.03442/0.4508, allocations: 15.91 MB / 0.5046 GB, free: 9.738 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)