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.001343/0.001343, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247 MB, free: 10.47 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.2363/0.2363, allocations: 46.13 MB / 344.4 MB, free: 11.48 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.003288/0.003288, allocations: 76.2 kB / 480.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3633, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02128/0.3846, allocations: 17.74 MB / 0.5479 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3947, allocations: 7.012 MB / 0.5548 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009912/0.3958, allocations: 19.88 kB / 0.5548 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.397, allocations: 381.6 kB / 0.5551 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.3988, allocations: 0.6722 MB / 0.5558 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.4026, allocations: 1.322 MB / 0.5571 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003483/0.4061, allocations: 2.521 MB / 0.5596 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.4072, allocations: 0.6818 MB / 0.5602 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.4094, allocations: 1.043 MB / 0.5612 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.4107, allocations: 0.7512 MB / 0.562 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.4109, allocations: 92 kB / 0.5621 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.4125, allocations: 0.5694 MB / 0.5626 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004503/0.4129, allocations: 375 kB / 0.563 GB, free: 500 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007152/0.4137, allocations: 0.5135 MB / 0.5635 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.4164, allocations: 1.623 MB / 0.5651 GB, free: 14.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4164, allocations: 0 / 0.5651 GB, free: 14.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4164, allocations: 0 / 0.5651 GB, free: 14.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.4165, allocations: 0 / 0.5651 GB, free: 14.35 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.002639/0.4191, allocations: 1.32 MB / 0.5664 GB, free: 12.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4192, allocations: 8.031 kB / 0.5664 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.4194, allocations: 139.3 kB / 0.5665 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004753/0.4198, allocations: 124.3 kB / 0.5666 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.421, allocations: 0.6188 MB / 0.5672 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.4212, allocations: 248.8 kB / 0.5675 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.4214, allocations: 84.08 kB / 0.5675 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.4235, allocations: 1.305 MB / 0.5688 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.4235, allocations: 3.938 kB / 0.5688 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4236, allocations: 40 kB / 0.5689 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.903e-05/0.4237, allocations: 45.23 kB / 0.5689 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.4253, 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.00774/0.4331, allocations: 7.09 MB / 0.5768 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.4337, allocations: 308.4 kB / 0.5771 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.434, allocations: 173.4 kB / 0.5772 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002823/0.4368, allocations: 2.819 MB / 0.58 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.4369, allocations: 38.8 kB / 0.58 GB, free: 13.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.4369, allocations: 0 / 0.58 GB, free: 13.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002343/0.4392, allocations: 1.121 MB / 0.5811 GB, free: 12.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.4393, allocations: 55.41 kB / 0.5812 GB, free: 12.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.4404, allocations: 0.8798 MB / 0.582 GB, free: 11.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.4404, allocations: 33.7 kB / 0.582 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.4409, allocations: 0.5961 MB / 0.5826 GB, free: 11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.441, allocations: 138.9 kB / 0.5828 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.4413, allocations: 242.7 kB / 0.583 GB, free: 10.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.4416, allocations: 398.7 kB / 0.5834 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.442, allocations: 246.5 kB / 0.5836 GB, free: 9.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.443, allocations: 0.966 MB / 0.5846 GB, free: 8.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.4446, allocations: 1.312 MB / 0.5858 GB, free: 6.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.4446, allocations: 8 kB / 0.5858 GB, free: 6.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001966/0.4466, allocations: 1.223 MB / 0.587 GB, free: 5.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.4466, allocations: 16 kB / 0.587 GB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/0.4467, allocations: 28 kB / 0.5871 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.502e-05/0.4467, allocations: 32 kB / 0.5871 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008042/0.4475, allocations: 276.2 kB / 0.5874 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-05/0.4476, allocations: 51.8 kB / 0.5874 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.4483, allocations: 55.98 kB / 0.5875 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/0.4484, allocations: 76 kB / 0.5875 GB, free: 5.227 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.0005132/0.4489, allocations: 340.9 kB / 0.5879 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.4491, allocations: 91.44 kB / 0.588 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009263/0.45, allocations: 486.8 kB / 0.5884 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.45, allocations: 0 / 0.5884 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4501, allocations: 4 kB / 0.5884 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.4501, allocations: 3.984 kB / 0.5884 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.4519, allocations: 1.232 MB / 0.5896 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.4519, allocations: 11.92 kB / 0.5896 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.4522, allocations: 67.91 kB / 0.5897 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4522, allocations: 4 kB / 0.5897 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.4523, allocations: 8 kB / 0.5897 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4523, allocations: 7.938 kB / 0.5897 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4523, allocations: 192 / 0.5897 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.4533, allocations: 0.649 MB / 0.5904 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.4536, allocations: 220.4 kB / 0.5906 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.4537, allocations: 11.98 kB / 0.5906 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.4541, allocations: 12 kB / 0.5906 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.4542, allocations: 23.97 kB / 0.5906 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.4542, allocations: 27.97 kB / 0.5906 GB, free: 1.867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008883/0.4551, allocations: 0.593 MB / 0.5912 GB, free: 1.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4551, allocations: 0 / 0.5912 GB, free: 1.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001181/0.4563, 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.001929/0.4583, allocations: 1.424 MB / 0.5929 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.4595, allocations: 0.6384 MB / 0.5935 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4595, allocations: 320 / 0.5935 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.4597, allocations: 156.7 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.00203/0.4618, allocations: 423.1 kB / 0.5941 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.4731, allocations: 8.041 MB / 0.6019 GB, free: 5.402 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.4738, allocations: 0.9934 MB / 0.6029 GB, free: 4.379 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009732/0.4748, allocations: 324.8 kB / 0.6032 GB, free: 4.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.4752, allocations: 295.3 kB / 0.6035 GB, free: 3.773 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4752, allocations: 0 / 0.6035 GB, free: 3.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05902/0.5342, allocations: 24.78 MB / 0.6277 GB, free: 11.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.587/10.12, allocations: 11.61 kB / 0.6277 GB, free: 11.22 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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)