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.000746/0.000746, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.004875/0.004875, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.286/1.286, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.2694/0.2694, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.0005003/0.0005003, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09621, allocations: 57.51 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0159/0.1122, allocations: 17.55 MB / 452.1 MB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.2926, allocations: 7.018 MB / 459.1 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009081/0.2936, allocations: 28.12 kB / 459.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.2945, allocations: 335.2 kB / 459.5 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.2959, allocations: 0.6462 MB / 460.1 MB, free: 33.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.299, allocations: 1.204 MB / 461.3 MB, free: 33.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.3019, allocations: 3.574 MB / 464.9 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007832/0.3026, allocations: 0.5857 MB / 465.5 MB, free: 33.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.304, allocations: 0.9093 MB / 466.4 MB, free: 33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007973/0.3048, allocations: 0.7884 MB / 467.2 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.865e-05/0.3049, allocations: 45.03 kB / 467.2 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.306, allocations: 0.54 MB / 467.8 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.3063, allocations: 333.6 kB / 468.1 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.3067, allocations: 0.5016 MB / 468.6 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.3081, allocations: 1.486 MB / 470.1 MB, free: 32.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3081, allocations: 0 / 470.1 MB, free: 32.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3081, allocations: 3.938 kB / 470.1 MB, free: 32.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3081, allocations: 4 kB / 470.1 MB, free: 32.46 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.001763/0.3099, allocations: 1.099 MB / 471.2 MB, free: 31.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3099, allocations: 9.844 kB / 471.2 MB, free: 31.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.3104, allocations: 124.7 kB / 471.3 MB, free: 31.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006585/0.311, allocations: 0.5797 MB / 471.9 MB, free: 31.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.3112, allocations: 248.8 kB / 472.2 MB, free: 31.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3113, allocations: 86.02 kB / 472.2 MB, free: 31.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.3127, allocations: 1.308 MB / 473.5 MB, free: 30.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.3127, allocations: 9.094 kB / 473.6 MB, free: 30.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.62e-05/0.3128, allocations: 42.83 kB / 473.6 MB, free: 30.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/0.3129, allocations: 42.56 kB / 473.6 MB, free: 30.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.3141, allocations: 0.9616 MB / 474.6 MB, free: 30.82 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.004411/0.3185, allocations: 7.085 MB / 481.7 MB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.319, allocations: 319.2 kB / 482 MB, free: 25.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.3192, allocations: 168.4 kB / 482.2 MB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/0.3208, allocations: 2.829 MB / 485 MB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3208, allocations: 37.86 kB / 485 MB, free: 22.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/0.3209, allocations: 0 / 485 MB, free: 22.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001786/0.3226, allocations: 1.116 MB / 486.1 MB, free: 22.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.3227, allocations: 61.69 kB / 486.2 MB, free: 22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007233/0.3234, allocations: 0.8645 MB / 487.1 MB, free: 21.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3235, allocations: 32.86 kB / 487.1 MB, free: 21.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.3237, allocations: 0.571 MB / 487.7 MB, free: 21.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.3238, allocations: 139.7 kB / 487.8 MB, free: 21.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/0.3239, allocations: 101.8 kB / 487.9 MB, free: 20.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.324, allocations: 400.4 kB / 488.3 MB, free: 20.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.3243, allocations: 248.9 kB / 488.5 MB, free: 20.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.3248, allocations: 0.9636 MB / 489.5 MB, free: 19.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/0.3257, allocations: 1.332 MB / 490.8 MB, free: 18.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.3257, allocations: 6.594 kB / 490.8 MB, free: 18.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001424/0.3271, allocations: 1.206 MB / 492.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3271, allocations: 15.72 kB / 492.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.3272, allocations: 29.41 kB / 492.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.021e-05/0.3272, allocations: 34.5 kB / 492.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.3279, allocations: 278.8 kB / 492.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.121e-05/0.3279, allocations: 45.72 kB / 492.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.3286, allocations: 72.64 kB / 492.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.3287, allocations: 74.8 kB / 492.6 MB, free: 17.64 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.0003424/0.329, allocations: 335.5 kB / 492.9 MB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3291, allocations: 89.84 kB / 493 MB, free: 17.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.3299, allocations: 486.1 kB / 493.5 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3299, allocations: 9.484 kB / 493.5 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3299, allocations: 0 / 493.5 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3299, allocations: 0 / 493.5 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.3312, allocations: 1.247 MB / 494.7 MB, free: 16.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3312, allocations: 0 / 494.7 MB, free: 16.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.3314, allocations: 72.89 kB / 494.8 MB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3315, allocations: 7.188 kB / 494.8 MB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3315, allocations: 10.22 kB / 494.8 MB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3315, allocations: 7.188 kB / 494.8 MB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3315, allocations: 3.125 kB / 494.8 MB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.3322, allocations: 0.642 MB / 495.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.3324, allocations: 211.2 kB / 495.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.3325, allocations: 11 kB / 495.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.3329, allocations: 23.81 kB / 495.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.3329, allocations: 29.61 kB / 495.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.333, allocations: 25.72 kB / 495.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005626/0.3335, allocations: 0.5939 MB / 496.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3335, allocations: 0 / 496.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009367/0.3345, allocations: 295.6 kB / 496.7 MB, free: 15.44 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.0005106/0.335, allocations: 330.6 kB / 497 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000805/0.3358, allocations: 0.6398 MB / 497.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3358, allocations: 1.125 kB / 497.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.336, allocations: 139.5 kB / 497.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.338, allocations: 412.2 kB / 498.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.3401, allocations: 1.832 MB / 500 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.3406, allocations: 0.9975 MB / 0.4892 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00107/0.3417, allocations: 306.7 kB / 0.4895 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.3419, allocations: 77.77 kB / 0.4896 GB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3419, allocations: 0 / 0.4896 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02785/0.3697, allocations: 15.3 MB / 0.5046 GB, free: 8.73 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: