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.001403/0.001403, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001595/0.001595, allocations: 221 kB / 22.92 MB, free: 5.531 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.262/1.262, allocations: 230.2 MB / 256.1 MB, free: 8.75 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.1912/0.1912, allocations: 46.89 MB / 359.3 MB, free: 4.996 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.00213/0.00213, allocations: 79.86 kB / 0.494 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2504, allocations: 65.97 MB / 0.5584 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0176/0.268, allocations: 18.03 MB / 0.576 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007965/0.276, allocations: 7.094 MB / 0.5829 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.2763, allocations: 19.88 kB / 0.5829 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.2771, allocations: 397.5 kB / 0.5833 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.2783, allocations: 0.6918 MB / 0.584 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.2809, allocations: 1.328 MB / 0.5853 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00235/0.2832, allocations: 2.533 MB / 0.5878 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.2839, allocations: 0.5725 MB / 0.5883 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.2853, allocations: 1.055 MB / 0.5894 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009727/0.2862, allocations: 0.8173 MB / 0.5902 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.2864, allocations: 84 kB / 0.5902 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2875, allocations: 0.6006 MB / 0.5908 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.2878, allocations: 378.9 kB / 0.5912 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.2883, allocations: 0.5173 MB / 0.5917 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.2901, allocations: 1.62 MB / 0.5933 GB, free: 1.398 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2901, allocations: 0 / 0.5933 GB, free: 1.398 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2901, allocations: 0 / 0.5933 GB, free: 1.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.2901, allocations: 0 / 0.5933 GB, free: 1.398 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.002161/0.2922, allocations: 1.316 MB / 0.5946 GB, free: 28 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.2923, allocations: 8.031 kB / 0.5946 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/0.2925, allocations: 143.2 kB / 0.5947 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004071/0.2929, allocations: 120.3 kB / 0.5948 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008646/0.2937, allocations: 0.6227 MB / 0.5954 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.2939, allocations: 252.8 kB / 0.5957 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.294, allocations: 84.08 kB / 0.5958 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.2958, allocations: 1.305 MB / 0.597 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.2958, allocations: 7.938 kB / 0.597 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.2959, allocations: 43.94 kB / 0.5971 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.296, allocations: 37.3 kB / 0.5971 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.2974, allocations: 0.9688 MB / 0.5981 GB, free: 12.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.006265/0.3037, allocations: 7.091 MB / 0.605 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.3042, allocations: 292.1 kB / 0.6053 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.3044, allocations: 157.4 kB / 0.6054 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002332/0.3068, allocations: 2.823 MB / 0.6082 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3068, allocations: 34.8 kB / 0.6082 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.283e-06/0.3068, allocations: 7.938 kB / 0.6082 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002082/0.3089, allocations: 1.118 MB / 0.6093 GB, free: 15.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3089, allocations: 55.41 kB / 0.6094 GB, free: 15.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009251/0.3098, allocations: 0.872 MB / 0.6102 GB, free: 14.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.3099, allocations: 37.7 kB / 0.6102 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.3103, allocations: 0.5921 MB / 0.6108 GB, free: 14.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.3104, allocations: 142.9 kB / 0.611 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.3106, allocations: 242.7 kB / 0.6112 GB, free: 13.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3108, allocations: 398.7 kB / 0.6116 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.3112, allocations: 246.5 kB / 0.6118 GB, free: 13.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008901/0.3121, allocations: 0.966 MB / 0.6127 GB, free: 11.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.3135, allocations: 1.312 MB / 0.614 GB, free: 10.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.3135, allocations: 8 kB / 0.614 GB, free: 10.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00168/0.3152, allocations: 1.215 MB / 0.6152 GB, free: 8.824 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3152, allocations: 16 kB / 0.6152 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.3152, allocations: 31.88 kB / 0.6153 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.828e-05/0.3153, allocations: 36.78 kB / 0.6153 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/0.316, allocations: 279.5 kB / 0.6156 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.982e-05/0.316, allocations: 59.72 kB / 0.6156 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.3166, allocations: 55.98 kB / 0.6157 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.3167, allocations: 68 kB / 0.6157 GB, free: 8.289 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.0003487/0.317, allocations: 333.1 kB / 0.6161 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3171, allocations: 91.44 kB / 0.6161 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007915/0.3179, allocations: 490.3 kB / 0.6166 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3179, allocations: 4 kB / 0.6166 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3179, allocations: 0 / 0.6166 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3179, allocations: 3.984 kB / 0.6166 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3195, allocations: 1.243 MB / 0.6178 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3195, allocations: 7.938 kB / 0.6178 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.3197, allocations: 63.91 kB / 0.6179 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3197, allocations: 4 kB / 0.6179 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.3198, allocations: 8 kB / 0.6179 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3198, allocations: 4.188 kB / 0.6179 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.3198, allocations: 7.938 kB / 0.6179 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.3206, allocations: 0.6451 MB / 0.6186 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.3208, allocations: 212.3 kB / 0.6188 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.542e-05/0.3209, allocations: 11.98 kB / 0.6188 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.3213, allocations: 12 kB / 0.6188 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.3213, allocations: 27.91 kB / 0.6188 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.3214, allocations: 31.97 kB / 0.6188 GB, free: 4.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006782/0.3221, allocations: 0.593 MB / 0.6194 GB, free: 4.328 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3221, allocations: 4.062 kB / 0.6194 GB, free: 4.324 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009253/0.323, allocations: 299.7 kB / 0.6197 GB, free: 4.031 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.00158/0.3246, allocations: 1.422 MB / 0.6211 GB, free: 2.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000885/0.3255, allocations: 0.6189 MB / 0.6217 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3255, allocations: 4.25 kB / 0.6217 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.3257, allocations: 132.5 kB / 0.6218 GB, free: 1.824 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.3274, allocations: 430.7 kB / 0.6222 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008862/0.3363, allocations: 8.026 MB / 0.6301 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.3368, allocations: 0.9973 MB / 0.6311 GB, free: 7.484 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007428/0.3376, allocations: 314.8 kB / 0.6314 GB, free: 7.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/0.3379, allocations: 295.3 kB / 0.6316 GB, free: 6.891 MB / 478.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3379, allocations: 4 kB / 0.6316 GB, free: 6.887 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05097/0.3889, allocations: 24.96 MB / 0.656 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/8.889, allocations: 4 kB / 0.656 GB, free: 14.09 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 & /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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.350406750003458]