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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001398/0.001398, allocations: 109.7 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 222.3 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 230.2 MB / 256.1 MB, free: 8.613 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.198/0.198, allocations: 46.89 MB / 359.3 MB, free: 4.969 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002147/0.002147, allocations: 79.86 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2496, allocations: 65.97 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01798/0.2675, allocations: 18.04 MB / 0.576 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008013/0.2756, allocations: 7.09 MB / 0.5829 GB, free: 12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/0.2759, allocations: 23.81 kB / 0.583 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.2767, allocations: 385.5 kB / 0.5833 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.2779, allocations: 0.6917 MB / 0.584 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.2806, allocations: 1.328 MB / 0.5853 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002441/0.283, allocations: 2.533 MB / 0.5878 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000703/0.2837, allocations: 0.5803 MB / 0.5883 GB, free: 6.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.2852, allocations: 1.051 MB / 0.5894 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009789/0.2862, allocations: 0.8058 MB / 0.5902 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.2863, allocations: 88 kB / 0.5902 GB, free: 4.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.2873, allocations: 0.6006 MB / 0.5908 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.2877, allocations: 382.9 kB / 0.5912 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004908/0.2882, allocations: 0.5134 MB / 0.5917 GB, free: 3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.2899, allocations: 1.623 MB / 0.5933 GB, free: 1.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2899, allocations: 0 / 0.5933 GB, free: 1.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2899, allocations: 0 / 0.5933 GB, free: 1.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.29, allocations: 0 / 0.5933 GB, free: 1.371 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.002247/0.2922, allocations: 1.324 MB / 0.5946 GB, free: 15.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2922, allocations: 8.031 kB / 0.5946 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.2924, allocations: 135.3 kB / 0.5947 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.2929, allocations: 128.3 kB / 0.5948 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000934/0.2938, allocations: 0.615 MB / 0.5954 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.294, allocations: 248.8 kB / 0.5957 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2941, allocations: 88.06 kB / 0.5957 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.2959, allocations: 1.309 MB / 0.597 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.2959, allocations: 3.938 kB / 0.597 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.296, allocations: 47.98 kB / 0.5971 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/0.2961, allocations: 37.3 kB / 0.5971 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.2976, allocations: 0.9688 MB / 0.5981 GB, free: 12.2 MB / 446.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.006553/0.3041, allocations: 7.083 MB / 0.605 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.3046, allocations: 296.2 kB / 0.6053 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.3049, allocations: 157.4 kB / 0.6054 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002436/0.3073, allocations: 2.823 MB / 0.6082 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3074, allocations: 34.8 kB / 0.6082 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.3074, allocations: 0 / 0.6082 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002142/0.3095, allocations: 1.126 MB / 0.6093 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3095, allocations: 55.41 kB / 0.6093 GB, free: 15.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000963/0.3105, allocations: 0.872 MB / 0.6102 GB, free: 14.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.3105, allocations: 41.7 kB / 0.6102 GB, free: 14.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.311, allocations: 0.5921 MB / 0.6108 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.3111, allocations: 134.9 kB / 0.6109 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.3113, allocations: 246.7 kB / 0.6112 GB, free: 13.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3115, allocations: 394.5 kB / 0.6116 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.3119, allocations: 246.5 kB / 0.6118 GB, free: 13.03 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009144/0.3128, allocations: 0.966 MB / 0.6127 GB, free: 11.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.3142, allocations: 1.312 MB / 0.614 GB, free: 10.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.3142, allocations: 8 kB / 0.614 GB, free: 10.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001709/0.3159, allocations: 1.211 MB / 0.6152 GB, free: 8.805 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.316, allocations: 22.97 kB / 0.6152 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.316, allocations: 24.91 kB / 0.6153 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-05/0.316, allocations: 39.94 kB / 0.6153 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.3168, allocations: 287.4 kB / 0.6156 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.771e-05/0.3168, allocations: 47.86 kB / 0.6156 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.3173, allocations: 51.98 kB / 0.6157 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.159e-05/0.3174, allocations: 75.94 kB / 0.6157 GB, free: 8.27 MB / 462.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.0003593/0.3178, allocations: 333.1 kB / 0.6161 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3179, allocations: 91.44 kB / 0.6161 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/0.3187, allocations: 494.4 kB / 0.6166 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3187, allocations: 7.938 kB / 0.6166 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3187, allocations: 0 / 0.6166 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3187, allocations: 3.984 kB / 0.6166 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.3203, allocations: 1.24 MB / 0.6178 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3203, allocations: 7.984 kB / 0.6178 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.3206, allocations: 63.91 kB / 0.6179 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3206, allocations: 7.984 kB / 0.6179 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.3206, allocations: 12.19 kB / 0.6179 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3206, allocations: 8 kB / 0.6179 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3206, allocations: 0 / 0.6179 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.3215, allocations: 0.6489 MB / 0.6186 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.3217, allocations: 208.4 kB / 0.6188 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.3218, allocations: 11.98 kB / 0.6188 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.3222, allocations: 12 kB / 0.6188 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.3222, allocations: 23.97 kB / 0.6188 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.3223, allocations: 27.97 kB / 0.6188 GB, free: 4.914 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000693/0.3229, allocations: 0.597 MB / 0.6194 GB, free: 4.305 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3229, allocations: 0 / 0.6194 GB, free: 4.305 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009505/0.3239, allocations: 303.7 kB / 0.6197 GB, free: 4.008 MB / 462.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.001596/0.3255, allocations: 1.418 MB / 0.6211 GB, free: 2.551 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008885/0.3264, allocations: 0.623 MB / 0.6217 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3264, allocations: 3.938 kB / 0.6217 GB, free: 1.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.3266, allocations: 132.5 kB / 0.6218 GB, free: 1.801 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.3283, allocations: 431.3 kB / 0.6222 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.3373, allocations: 8.034 MB / 0.6301 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.3379, allocations: 0.9934 MB / 0.6311 GB, free: 7.457 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007499/0.3386, allocations: 320.4 kB / 0.6314 GB, free: 7.145 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.3389, allocations: 291.3 kB / 0.6316 GB, free: 6.859 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3389, allocations: 0 / 0.6316 GB, free: 6.859 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/0.3898, allocations: 24.95 MB / 0.656 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.881/9.271, allocations: 4.062 kB / 0.656 GB, free: 14.08 MB / 0.4981 GB " [Timeout remaining time 651] (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.0019992 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.780434825996053]