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.001724/0.001724, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.0022/0.0022, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.486/1.486, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] 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.2298/0.2298, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.00234/0.00234, allocations: 83.86 kB / 0.4917 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1262, allocations: 66.03 MB / 0.5562 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02055/0.1467, allocations: 17.87 MB / 0.5736 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.1568, allocations: 7.026 MB / 0.5805 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.1578, allocations: 27.75 kB / 0.5805 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.159, allocations: 393.5 kB / 0.5809 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.1609, allocations: 0.6879 MB / 0.5815 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.1647, allocations: 1.319 MB / 0.5828 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003893/0.1686, allocations: 2.513 MB / 0.5853 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.1698, allocations: 0.6076 MB / 0.5859 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.1724, allocations: 1.059 MB / 0.5869 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.1737, allocations: 0.7863 MB / 0.5877 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.1739, allocations: 88 kB / 0.5878 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.1752, allocations: 0.6084 MB / 0.5884 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.1756, allocations: 378.9 kB / 0.5887 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.1762, allocations: 0.5095 MB / 0.5892 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.1785, allocations: 1.616 MB / 0.5908 GB, free: 1.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1785, allocations: 0 / 0.5908 GB, free: 1.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1785, allocations: 0 / 0.5908 GB, free: 1.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.1786, allocations: 0 / 0.5908 GB, free: 1.988 MB / 446.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.002795/0.1814, allocations: 1.312 MB / 0.5921 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1814, allocations: 8.031 kB / 0.5921 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.1816, allocations: 147.2 kB / 0.5922 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004745/0.1821, allocations: 124.3 kB / 0.5923 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2299/0.4119, allocations: 0.6066 MB / 0.5929 GB, free: 36.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.4121, allocations: 247.9 kB / 0.5932 GB, free: 36.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.4122, allocations: 83.73 kB / 0.5932 GB, free: 36.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.4141, allocations: 1.304 MB / 0.5945 GB, free: 36.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.4142, allocations: 7.125 kB / 0.5945 GB, free: 36.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.4143, allocations: 37.64 kB / 0.5946 GB, free: 36.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/0.4143, allocations: 42.5 kB / 0.5946 GB, free: 36.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.4159, allocations: 0.9686 MB / 0.5956 GB, free: 36.25 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.006025/0.4219, allocations: 7.068 MB / 0.6025 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.4225, allocations: 294.5 kB / 0.6027 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.4228, allocations: 161.5 kB / 0.6029 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/0.4251, allocations: 2.815 MB / 0.6056 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.4251, allocations: 42.17 kB / 0.6057 GB, free: 27.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.4251, allocations: 2.312 kB / 0.6057 GB, free: 27.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002228/0.4273, allocations: 1.125 MB / 0.6068 GB, free: 26.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.4273, allocations: 55.38 kB / 0.6068 GB, free: 26.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.4286, allocations: 0.8782 MB / 0.6077 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.4286, allocations: 33.33 kB / 0.6077 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/0.429, allocations: 0.5934 MB / 0.6083 GB, free: 26.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.4292, allocations: 139.9 kB / 0.6084 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/0.4296, allocations: 242.1 kB / 0.6087 GB, free: 25.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.4297, allocations: 401.4 kB / 0.609 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.4303, allocations: 245.4 kB / 0.6093 GB, free: 25.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/0.4311, allocations: 0.9607 MB / 0.6102 GB, free: 24.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.4324, allocations: 1.322 MB / 0.6115 GB, free: 23.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/0.4325, allocations: 11.38 kB / 0.6115 GB, free: 23.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002051/0.4345, allocations: 1.217 MB / 0.6127 GB, free: 22.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.4345, allocations: 16.38 kB / 0.6127 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/0.4346, allocations: 26.44 kB / 0.6128 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.675e-05/0.4346, allocations: 33.56 kB / 0.6128 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.4355, allocations: 278.7 kB / 0.613 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.41e-05/0.4355, allocations: 51.42 kB / 0.6131 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.4363, allocations: 50.14 kB / 0.6131 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.4364, allocations: 73.2 kB / 0.6132 GB, free: 22.52 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.000491/0.4369, allocations: 326.7 kB / 0.6135 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.4371, allocations: 106 kB / 0.6136 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009204/0.438, allocations: 476.8 kB / 0.6141 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.438, allocations: 5.828 kB / 0.6141 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.438, allocations: 0.6094 kB / 0.6141 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.438, allocations: 5.344 kB / 0.6141 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.4397, allocations: 1.241 MB / 0.6153 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4397, allocations: 1.406 kB / 0.6153 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.44, allocations: 70.44 kB / 0.6154 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.44, allocations: 3.344 kB / 0.6154 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.44, allocations: 14.25 kB / 0.6154 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.4401, allocations: 8.234 kB / 0.6154 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4401, allocations: 5.625 kB / 0.6154 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008669/0.4409, allocations: 0.6503 MB / 0.616 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.4412, allocations: 204.7 kB / 0.6162 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/0.4413, allocations: 13 kB / 0.6162 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.4416, allocations: 16.86 kB / 0.6163 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.4417, allocations: 23.86 kB / 0.6163 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.4417, allocations: 25.55 kB / 0.6163 GB, free: 20.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007814/0.4425, allocations: 0.5983 MB / 0.6169 GB, free: 20.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4425, allocations: 0 / 0.6169 GB, free: 20.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001251/0.4438, allocations: 303.2 kB / 0.6172 GB, free: 20.3 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.00151/0.4453, allocations: 1.405 MB / 0.6186 GB, free: 19.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.4464, allocations: 0.6148 MB / 0.6192 GB, free: 19.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4464, allocations: 2.062 kB / 0.6192 GB, free: 19.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.4467, allocations: 143.2 kB / 0.6193 GB, free: 19.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.4485, allocations: 422.5 kB / 0.6197 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009184/0.4577, allocations: 8.031 MB / 0.6275 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.4581, allocations: 0.9997 MB / 0.6285 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009156/0.459, allocations: 311.5 kB / 0.6288 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.4593, allocations: 298.5 kB / 0.6291 GB, free: 12.54 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4593, allocations: 0 / 0.6291 GB, free: 12.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05078/0.5101, allocations: 24.75 MB / 0.6533 GB, free: 6.426 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.646/10.16, allocations: 11.73 kB / 0.6533 GB, free: 6.414 MB / 462.1 MB " [Timeout remaining time 650] (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: 13.249055247288197] Failed to read output from testmodel.py, exit status != 0: ['time', 'mixingVolume1.medium.T', 'mixingVolume2.medium.T'] 10.241236664820462 10.264174431 10.081410215 Calling exit ...