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.001055/0.001055, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001089/0.001089, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.335/1.335, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.306/0.306, allocations: 37.98 MB / 307.4 MB, free: 10.14 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.001346/0.001346, allocations: 70.41 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09795, allocations: 56.47 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01695/0.1149, allocations: 18.1 MB / 449.3 MB, free: 4.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1889/0.3039, allocations: 7.045 MB / 456.4 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009408/0.305, allocations: 26.44 kB / 456.4 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009042/0.3059, allocations: 338.8 kB / 456.7 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.3072, allocations: 0.6306 MB / 457.3 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.31, allocations: 1.234 MB / 458.6 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002191/0.3122, allocations: 2.515 MB / 461.1 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008937/0.3131, allocations: 0.6751 MB / 461.8 MB, free: 34.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.3149, allocations: 1.029 MB / 462.8 MB, free: 34.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009722/0.3158, allocations: 0.7969 MB / 463.6 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.316, allocations: 87.38 kB / 463.7 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.3171, allocations: 0.5432 MB / 464.2 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.3174, allocations: 373.2 kB / 464.6 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004802/0.3179, allocations: 0.5195 MB / 465.1 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.3194, allocations: 1.53 MB / 466.6 MB, free: 34.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3194, allocations: 3.938 kB / 466.6 MB, free: 34.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3194, allocations: 4 kB / 466.6 MB, free: 34.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3194, allocations: 0 / 466.6 MB, free: 34.32 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.001936/0.3213, allocations: 1.289 MB / 467.9 MB, free: 33.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3214, allocations: 13.2 kB / 467.9 MB, free: 33.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004506/0.3218, allocations: 118.2 kB / 468.1 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.3226, allocations: 0.5906 MB / 468.7 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.3228, allocations: 249.8 kB / 468.9 MB, free: 33.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3229, allocations: 78.62 kB / 469 MB, free: 33.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.3244, allocations: 1.313 MB / 470.3 MB, free: 32.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.3245, allocations: 10.91 kB / 470.3 MB, free: 32.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3246, allocations: 37.44 kB / 470.3 MB, free: 32.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.3246, allocations: 42.52 kB / 470.4 MB, free: 32.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.3259, allocations: 0.9636 MB / 471.3 MB, free: 32.66 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.004795/0.3307, allocations: 7.081 MB / 478.4 MB, free: 26.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.3312, allocations: 317.6 kB / 478.7 MB, free: 26.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.3314, allocations: 182.1 kB / 478.9 MB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/0.3332, allocations: 2.818 MB / 481.7 MB, free: 23.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3333, allocations: 41.95 kB / 481.8 MB, free: 23.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.3333, allocations: 0 / 481.8 MB, free: 23.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002011/0.3353, allocations: 1.108 MB / 482.9 MB, free: 23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.3353, allocations: 58.47 kB / 482.9 MB, free: 22.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007662/0.3361, allocations: 0.8748 MB / 483.8 MB, free: 22.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.3362, allocations: 32.95 kB / 483.8 MB, free: 22.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.3364, allocations: 0.5663 MB / 484.4 MB, free: 22.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.3365, allocations: 129.1 kB / 484.5 MB, free: 21.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.3367, allocations: 248.1 kB / 484.8 MB, free: 21.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.3368, allocations: 400.4 kB / 485.2 MB, free: 21.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.3371, allocations: 242 kB / 485.4 MB, free: 21.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/0.3377, allocations: 0.9619 MB / 486.4 MB, free: 20.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/0.3386, allocations: 1.324 MB / 487.7 MB, free: 19.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.3387, allocations: 6.344 kB / 487.7 MB, free: 19.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001431/0.3401, allocations: 1.213 MB / 488.9 MB, free: 18.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3401, allocations: 15.31 kB / 488.9 MB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.3401, allocations: 28.66 kB / 488.9 MB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.3402, allocations: 32.72 kB / 489 MB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.3409, allocations: 276.4 kB / 489.3 MB, free: 18.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/0.3409, allocations: 48.52 kB / 489.3 MB, free: 18.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/0.3416, allocations: 79.78 kB / 489.4 MB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.3416, allocations: 75.06 kB / 489.4 MB, free: 18.53 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.0003136/0.342, allocations: 331.9 kB / 489.8 MB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3421, allocations: 85.53 kB / 489.9 MB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.3428, allocations: 491.1 kB / 490.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3429, allocations: 13.8 kB / 490.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3429, allocations: 0 / 490.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3429, allocations: 0 / 490.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.3441, allocations: 1.248 MB / 491.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3442, allocations: 0 / 491.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.3444, allocations: 77.2 kB / 491.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.3444, allocations: 6.906 kB / 491.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3445, allocations: 6.875 kB / 491.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3445, allocations: 5.969 kB / 491.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3445, allocations: 0 / 491.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.3452, allocations: 0.6436 MB / 492.3 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.3454, allocations: 207.7 kB / 492.5 MB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3455, allocations: 7.188 kB / 492.5 MB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.3459, allocations: 29.05 kB / 492.6 MB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.346, allocations: 20.28 kB / 492.6 MB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.346, allocations: 23.78 kB / 492.6 MB, free: 16.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005516/0.3466, allocations: 0.5921 MB / 493.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3466, allocations: 0 / 493.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001003/0.3476, allocations: 303.2 kB / 493.5 MB, free: 16.32 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.0005628/0.3482, allocations: 320.4 kB / 493.8 MB, free: 16.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008512/0.349, allocations: 0.67 MB / 494.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.349, allocations: 9.281 kB / 494.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.3493, allocations: 146 kB / 494.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.351, allocations: 425.7 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.353, allocations: 1.767 MB / 496.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3534, allocations: 0.9899 MB / 497.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009412/0.3544, allocations: 319.2 kB / 498.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3546, allocations: 75.92 kB / 498.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3546, allocations: 7.938 kB / 498.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Templates: time 0.02912/0.3837, allocations: 15.83 MB / 0.502 GB, free: 10.17 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (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)