Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007795/0.0007794, allocations: 96.86 kB / 15.7 MB, free: 468 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.0009364/0.0009365, allocations: 167.6 kB / 16.57 MB, free: 6.047 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.351/1.351, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3489/0.3489, allocations: 43.54 MB / 314.6 MB, free: 8.746 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: Performance of FrontEnd - loaded program: time 0.0005002/0.0005004, allocations: 18.97 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2145/0.3203, allocations: 16.61 MB / 459.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008584/0.329, allocations: 6.631 MB / 466.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000975/0.33, allocations: 23.19 kB / 466.1 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009557/0.331, allocations: 314.9 kB / 466.4 MB, free: 36.36 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.001541/0.3325, allocations: 0.6784 MB / 467.1 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003124/0.3357, allocations: 1.038 MB / 468.2 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.3386, allocations: 2.971 MB / 471.1 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009552/0.3396, allocations: 0.5504 MB / 471.7 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.3414, allocations: 0.9006 MB / 472.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.3424, allocations: 0.7412 MB / 473.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.3426, allocations: 47.03 kB / 473.4 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3436, allocations: 303.7 kB / 473.7 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.3439, allocations: 333.3 kB / 474 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.3442, allocations: 205 kB / 474.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.3453, allocations: 1.07 MB / 475.3 MB, free: 35.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3453, allocations: 0 / 475.3 MB, free: 35.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3453, allocations: 0 / 475.3 MB, free: 35.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3453, allocations: 0 / 475.3 MB, free: 35.16 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.001783/0.3471, allocations: 1.115 MB / 476.4 MB, free: 34.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3471, allocations: 8.969 kB / 476.4 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.3473, allocations: 139.9 kB / 476.5 MB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.3477, allocations: 118.1 kB / 476.6 MB, free: 34.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.3484, allocations: 0.5709 MB / 477.2 MB, free: 33.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.3485, allocations: 252.4 kB / 477.5 MB, free: 33.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3486, allocations: 86.73 kB / 477.5 MB, free: 33.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.3501, allocations: 1.292 MB / 478.8 MB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.3502, allocations: 11.05 kB / 478.8 MB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.135e-05/0.3503, allocations: 44.38 kB / 478.9 MB, free: 32.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/0.3503, allocations: 42.27 kB / 478.9 MB, free: 32.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.3515, allocations: 0.9569 MB / 479.9 MB, free: 32.6 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.004842/0.3564, allocations: 7.093 MB / 487 MB, free: 26.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.3569, allocations: 311.2 kB / 487.3 MB, free: 26.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3571, allocations: 172.5 kB / 487.5 MB, free: 26.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/0.359, allocations: 2.82 MB / 490.3 MB, free: 23.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3591, allocations: 42 kB / 490.3 MB, free: 23.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.913e-06/0.3591, allocations: 0 / 490.3 MB, free: 23.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001873/0.361, allocations: 1.105 MB / 491.4 MB, free: 22.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.361, allocations: 54.56 kB / 491.5 MB, free: 22.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008825/0.3619, allocations: 0.8663 MB / 492.3 MB, free: 22.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3619, allocations: 32.67 kB / 492.4 MB, free: 22.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.3622, allocations: 0.576 MB / 492.9 MB, free: 21.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.3623, allocations: 142.1 kB / 493.1 MB, free: 21.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.3624, allocations: 22.06 kB / 493.1 MB, free: 21.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3625, allocations: 394.3 kB / 493.5 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.3629, allocations: 241.8 kB / 493.7 MB, free: 21.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.3635, allocations: 0.9636 MB / 494.7 MB, free: 20.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.364, allocations: 441.6 kB / 495.1 MB, free: 20.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.364, allocations: 12.69 kB / 495.1 MB, free: 20.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001567/0.3656, allocations: 1.193 MB / 496.3 MB, free: 19.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3656, allocations: 18 kB / 496.3 MB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.3657, allocations: 24.16 kB / 496.4 MB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/0.3657, allocations: 39.61 kB / 496.4 MB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.3665, allocations: 276.2 kB / 496.7 MB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.723e-05/0.3666, allocations: 53 kB / 496.7 MB, free: 19.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.3673, allocations: 73.81 kB / 496.8 MB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/0.3674, allocations: 73.86 kB / 496.9 MB, free: 19.6 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.0004124/0.3678, allocations: 326.9 kB / 497.2 MB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3679, allocations: 91.31 kB / 497.3 MB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/0.3688, allocations: 484.3 kB / 497.8 MB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3688, allocations: 3.891 kB / 497.8 MB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3688, allocations: 5.672 kB / 497.8 MB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3689, allocations: 1.547 kB / 497.8 MB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.3705, allocations: 1.24 MB / 499 MB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3705, allocations: 2.031 kB / 499 MB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.3708, allocations: 69.47 kB / 499.1 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.3709, allocations: 8.391 kB / 499.1 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.3709, allocations: 9.703 kB / 499.1 MB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3709, allocations: 4.156 kB / 499.1 MB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3709, allocations: 5.094 kB / 499.1 MB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.3718, allocations: 0.6454 MB / 499.7 MB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.3721, allocations: 211 kB / 500 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.3722, allocations: 12.27 kB / 500 MB, free: 17.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.3727, allocations: 22.72 kB / 500 MB, free: 17.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.3727, allocations: 34.55 kB / 0.4883 GB, free: 17.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.3728, allocations: 25.2 kB / 0.4883 GB, free: 17.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008484/0.3736, allocations: 0.5792 MB / 0.4889 GB, free: 17.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3737, allocations: 0 / 0.4889 GB, free: 17.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001208/0.3749, allocations: 295.4 kB / 0.4892 GB, free: 17.39 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.001594/0.3765, allocations: 1.407 MB / 0.4905 GB, free: 16.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.3776, allocations: 0.6354 MB / 0.4912 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.3777, allocations: 1.062 kB / 0.4912 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.3779, allocations: 141.6 kB / 0.4913 GB, free: 16.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.3797, allocations: 382.3 kB / 0.4917 GB, free: 16.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007857/0.3875, allocations: 5.268 MB / 0.4968 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.3881, allocations: 0.9987 MB / 0.4978 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001197/0.3893, allocations: 317.6 kB / 0.4981 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.3897, allocations: 303.4 kB / 0.4984 GB, free: 11.69 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3897, allocations: 0 / 0.4984 GB, free: 11.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04261/0.4324, allocations: 22.94 MB / 0.5208 GB, free: 14.55 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.4326, allocations: 238 kB / 0.521 GB, free: 14.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.599, allocations: 7.875 kB / 0.521 GB, free: 14.3 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat