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.001384/0.001384, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001514/0.001514, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.437/1.437, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2258/0.2258, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.002285/0.002285, allocations: 79.88 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3166, allocations: 66.09 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02654/0.3431, allocations: 18.03 MB / 0.5791 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.3568, allocations: 7.089 MB / 0.586 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.3578, allocations: 27.75 kB / 0.5861 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.3593, allocations: 393.5 kB / 0.5864 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.3617, allocations: 0.6956 MB / 0.5871 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004728/0.3664, allocations: 1.354 MB / 0.5884 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004601/0.371, allocations: 2.556 MB / 0.5909 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.3723, allocations: 0.5612 MB / 0.5915 GB, free: 5.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.3751, allocations: 1.067 MB / 0.5925 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.377, allocations: 0.8057 MB / 0.5933 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.3772, allocations: 88 kB / 0.5934 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.3793, allocations: 0.6162 MB / 0.594 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006751/0.38, allocations: 390.9 kB / 0.5944 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000904/0.3809, allocations: 0.5095 MB / 0.5949 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.3842, allocations: 1.616 MB / 0.5965 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3842, allocations: 0 / 0.5965 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3842, allocations: 0 / 0.5965 GB, free: 412 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.3842, allocations: 0 / 0.5965 GB, free: 412 kB / 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.003596/0.3878, allocations: 1.241 MB / 0.5977 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3878, allocations: 11.97 kB / 0.5977 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002739/0.3881, allocations: 143.2 kB / 0.5978 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007839/0.3889, allocations: 124.3 kB / 0.5979 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.3904, allocations: 0.5454 MB / 0.5985 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000422/0.3909, allocations: 411 kB / 0.5989 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.3911, allocations: 92.02 kB / 0.5989 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.3942, allocations: 1.293 MB / 0.6002 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.3942, allocations: 7.938 kB / 0.6002 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.3944, allocations: 43.98 kB / 0.6003 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.251e-05/0.3945, allocations: 37.3 kB / 0.6003 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.3972, allocations: 0.9649 MB / 0.6012 GB, free: 11.23 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.01059/0.4078, allocations: 7.002 MB / 0.6081 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.4084, allocations: 296.1 kB / 0.6084 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.4086, allocations: 157.4 kB / 0.6085 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/0.4105, allocations: 0.8483 MB / 0.6093 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.4105, allocations: 38.8 kB / 0.6094 GB, free: 2.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 4.759e-06/0.4105, allocations: 7.984 kB / 0.6094 GB, free: 2.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002476/0.413, allocations: 1.038 MB / 0.6104 GB, free: 1.324 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.4131, allocations: 55.41 kB / 0.6104 GB, free: 1.258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.4142, allocations: 0.8759 MB / 0.6113 GB, free: 380 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.4143, allocations: 33.7 kB / 0.6113 GB, free: 340 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004899/0.4148, allocations: 0.5923 MB / 0.6119 GB, free: 15.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.4149, allocations: 135 kB / 0.612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.4152, allocations: 246.7 kB / 0.6123 GB, free: 15.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.4155, allocations: 398.5 kB / 0.6127 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.4159, allocations: 250.5 kB / 0.6129 GB, free: 14.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.417, allocations: 0.966 MB / 0.6138 GB, free: 13.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.4187, allocations: 1.323 MB / 0.6151 GB, free: 11.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.4187, allocations: 8 kB / 0.6151 GB, free: 11.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002004/0.4207, allocations: 1.216 MB / 0.6163 GB, free: 10.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4207, allocations: 16 kB / 0.6163 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-05/0.4208, allocations: 27.98 kB / 0.6164 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-05/0.4208, allocations: 36 kB / 0.6164 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.4216, allocations: 279.5 kB / 0.6167 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.297e-05/0.4217, allocations: 51.78 kB / 0.6167 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000677/0.4224, allocations: 48 kB / 0.6168 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4225, allocations: 79.94 kB / 0.6168 GB, free: 9.938 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.0004685/0.4229, allocations: 337.1 kB / 0.6172 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.4231, allocations: 91.44 kB / 0.6172 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009419/0.424, allocations: 486.7 kB / 0.6177 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.4241, allocations: 4 kB / 0.6177 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4241, allocations: 7.938 kB / 0.6177 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4241, allocations: 0 / 0.6177 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.4259, allocations: 1.076 MB / 0.6188 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4259, allocations: 4.188 kB / 0.6188 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.4262, allocations: 67.89 kB / 0.6188 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.4262, allocations: 4 kB / 0.6188 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.4262, allocations: 8 kB / 0.6189 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.4262, allocations: 4 kB / 0.6189 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4262, allocations: 4 kB / 0.6189 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/0.4272, allocations: 0.6568 MB / 0.6195 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.4275, allocations: 123.3 kB / 0.6196 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.941e-05/0.4276, allocations: 8 kB / 0.6196 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.428, allocations: 15.98 kB / 0.6196 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.428, allocations: 27.97 kB / 0.6197 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.4281, allocations: 27.97 kB / 0.6197 GB, free: 6.891 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008258/0.4289, allocations: 0.593 MB / 0.6203 GB, free: 6.285 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4289, allocations: 0 / 0.6203 GB, free: 6.285 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001222/0.4301, allocations: 307.5 kB / 0.6206 GB, free: 5.984 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.001851/0.432, allocations: 1.4 MB / 0.6219 GB, free: 4.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.4332, allocations: 0.6224 MB / 0.6225 GB, free: 3.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4332, allocations: 0 / 0.6225 GB, free: 3.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.4334, allocations: 137 kB / 0.6227 GB, free: 3.785 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.4352, allocations: 424.2 kB / 0.6231 GB, free: 3.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.4467, allocations: 8.024 MB / 0.6309 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.4474, allocations: 1.001 MB / 0.6319 GB, free: 9.445 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009969/0.4484, allocations: 314.9 kB / 0.6322 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.4488, allocations: 299.3 kB / 0.6325 GB, free: 8.852 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4488, allocations: 0 / 0.6325 GB, free: 8.852 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06305/0.5119, allocations: 25.58 MB / 0.6575 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.727/10.24, allocations: 3.938 kB / 0.6575 GB, free: 15.42 MB / 0.4981 GB " [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.148434601724148] Failed to read output from testmodel.py, exit status != 0: ['time', 'mixingVolume1.medium.T', 'mixingVolume2.medium.T'] 10.326966091059148 10.353116829 9.963846946 Calling exit ...