Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2269/0.2269, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3694, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02033/0.3897, allocations: 17.74 MB / 0.5479 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.401, allocations: 7.015 MB / 0.5548 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.4022, allocations: 27.81 kB / 0.5548 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.4034, allocations: 377.6 kB / 0.5552 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.4051, allocations: 0.6683 MB / 0.5558 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.4089, allocations: 1.33 MB / 0.5571 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003369/0.4122, allocations: 2.525 MB / 0.5596 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.4134, allocations: 0.6741 MB / 0.5602 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.4154, allocations: 1.039 MB / 0.5612 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.4168, allocations: 0.7512 MB / 0.562 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.417, allocations: 88 kB / 0.5621 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.4184, allocations: 0.5694 MB / 0.5626 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.4189, allocations: 375 kB / 0.563 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006787/0.4196, allocations: 0.5135 MB / 0.5635 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.4221, allocations: 1.619 MB / 0.5651 GB, free: 14.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4221, allocations: 0 / 0.5651 GB, free: 14.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4221, allocations: 0 / 0.5651 GB, free: 14.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.4222, allocations: 0 / 0.5651 GB, free: 14.36 MB / 430.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.002583/0.4248, allocations: 1.316 MB / 0.5663 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4248, allocations: 12.03 kB / 0.5664 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.425, allocations: 139.2 kB / 0.5665 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004887/0.4255, allocations: 128.3 kB / 0.5666 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.4265, allocations: 0.6149 MB / 0.5672 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.4268, allocations: 260.7 kB / 0.5675 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.4269, allocations: 84.08 kB / 0.5675 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.429, allocations: 1.301 MB / 0.5688 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.429, allocations: 7.938 kB / 0.5688 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.4291, allocations: 40 kB / 0.5689 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.455e-05/0.4292, allocations: 41.25 kB / 0.5689 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.4308, allocations: 0.9611 MB / 0.5698 GB, free: 9.188 MB / 430.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.007692/0.4385, allocations: 7.094 MB / 0.5768 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.4391, allocations: 312.3 kB / 0.5771 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.4394, allocations: 173.4 kB / 0.5772 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003135/0.4425, allocations: 2.815 MB / 0.58 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.4426, allocations: 38.8 kB / 0.58 GB, free: 13.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.4426, allocations: 4 kB / 0.58 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002411/0.445, allocations: 1.117 MB / 0.5811 GB, free: 12.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.4451, allocations: 55.41 kB / 0.5812 GB, free: 12.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.4463, allocations: 0.8759 MB / 0.582 GB, free: 11.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.4463, allocations: 33.7 kB / 0.582 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000512/0.4468, allocations: 0.596 MB / 0.5826 GB, free: 11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.447, allocations: 134.9 kB / 0.5828 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.4473, allocations: 250.7 kB / 0.583 GB, free: 10.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.4475, allocations: 402.6 kB / 0.5834 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.4479, allocations: 246.5 kB / 0.5836 GB, free: 9.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.4489, allocations: 0.9583 MB / 0.5845 GB, free: 8.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.4505, allocations: 1.32 MB / 0.5858 GB, free: 6.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.4506, allocations: 8 kB / 0.5858 GB, free: 6.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001992/0.4526, allocations: 1.216 MB / 0.587 GB, free: 5.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.4526, allocations: 23.98 kB / 0.5871 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.4526, allocations: 24 kB / 0.5871 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-05/0.4527, allocations: 36 kB / 0.5871 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/0.4535, allocations: 271.5 kB / 0.5874 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-05/0.4536, allocations: 51.78 kB / 0.5874 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/0.4543, allocations: 52 kB / 0.5875 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4544, allocations: 68 kB / 0.5875 GB, free: 5.234 MB / 446.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.0005438/0.455, allocations: 348.9 kB / 0.5879 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.4551, allocations: 91.44 kB / 0.588 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009314/0.4561, allocations: 486.8 kB / 0.5884 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4561, allocations: 7.938 kB / 0.5884 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4561, allocations: 4 kB / 0.5884 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4561, allocations: 0 / 0.5884 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.4579, allocations: 1.236 MB / 0.5896 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4579, allocations: 4.125 kB / 0.5896 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.4582, allocations: 75.91 kB / 0.5897 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.4582, allocations: 4 kB / 0.5897 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.4582, allocations: 11.98 kB / 0.5897 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.4582, allocations: 7.938 kB / 0.5897 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4582, allocations: 0 / 0.5897 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/0.4592, allocations: 0.6451 MB / 0.5904 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.4595, allocations: 212.3 kB / 0.5906 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.4596, allocations: 8 kB / 0.5906 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.46, allocations: 19.98 kB / 0.5906 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.46, allocations: 24.03 kB / 0.5906 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/0.4601, allocations: 23.98 kB / 0.5906 GB, free: 1.867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007507/0.4608, allocations: 0.593 MB / 0.5912 GB, free: 1.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4609, allocations: 0 / 0.5912 GB, free: 1.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001087/0.4619, allocations: 303.7 kB / 0.5915 GB, free: 0.9648 MB / 446.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.001786/0.4637, allocations: 1.424 MB / 0.5929 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.4648, allocations: 0.6452 MB / 0.5935 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4648, allocations: 4 kB / 0.5935 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.4651, allocations: 146.2 kB / 0.5937 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.4669, allocations: 436.2 kB / 0.5941 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.4769, allocations: 8.029 MB / 0.6019 GB, free: 5.402 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.4776, allocations: 1.001 MB / 0.6029 GB, free: 4.371 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008847/0.4785, allocations: 316.2 kB / 0.6032 GB, free: 4.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.4789, allocations: 296.1 kB / 0.6035 GB, free: 3.773 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4789, allocations: 0 / 0.6035 GB, free: 3.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05788/0.5368, allocations: 24.79 MB / 0.6277 GB, free: 11.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.735/10.27, allocations: 15.66 kB / 0.6277 GB, free: 11.21 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)