Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001158/0.001158, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001256/0.001256, allocations: 217.1 kB / 22.92 MB, free: 5.195 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.289/1.289, allocations: 230.2 MB / 256.2 MB, free: 8.605 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.941 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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.002123/0.002123, allocations: 79.86 kB / 0.494 GB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2564, allocations: 65.99 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02106/0.2774, allocations: 20.68 MB / 0.5786 GB, free: 460 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005865/0.2833, allocations: 4.341 MB / 0.5829 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.2838, allocations: 19.88 kB / 0.5829 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.2846, allocations: 318 kB / 0.5832 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.2863, allocations: 0.8706 MB / 0.584 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.2883, allocations: 0.9107 MB / 0.5849 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.2903, allocations: 1.805 MB / 0.5867 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.2909, allocations: 393.4 kB / 0.5871 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.2925, allocations: 0.9456 MB / 0.588 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009608/0.2934, allocations: 0.6812 MB / 0.5886 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.2935, allocations: 60 kB / 0.5887 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006825/0.2942, allocations: 311.6 kB / 0.589 GB, free: 5.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.2945, allocations: 267.2 kB / 0.5893 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.295, allocations: 394.2 kB / 0.5896 GB, free: 5.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.2963, allocations: 1.101 MB / 0.5907 GB, free: 4.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2963, allocations: 0 / 0.5907 GB, free: 4.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2963, allocations: 0 / 0.5907 GB, free: 4.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.2963, allocations: 4 kB / 0.5907 GB, free: 4.027 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002099/0.2984, allocations: 1.059 MB / 0.5917 GB, free: 2.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2984, allocations: 12.03 kB / 0.5918 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.2986, allocations: 98.64 kB / 0.5919 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.2989, allocations: 96.41 kB / 0.5919 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/0.2997, allocations: 0.537 MB / 0.5925 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/0.2998, allocations: 96.97 kB / 0.5926 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/0.2999, allocations: 56.08 kB / 0.5926 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.3011, allocations: 0.8213 MB / 0.5934 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3011, allocations: 7.938 kB / 0.5934 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.818e-05/0.3012, allocations: 20 kB / 0.5934 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/0.3012, allocations: 40.97 kB / 0.5935 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.3023, allocations: 0.6478 MB / 0.5941 GB, free: 364 kB / 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.004795/0.3071, allocations: 4.21 MB / 0.5982 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008851/0.3079, allocations: 395.2 kB / 0.5986 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.3083, allocations: 193.4 kB / 0.5988 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004875/0.3087, allocations: 0.5068 MB / 0.5993 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3088, allocations: 38.89 kB / 0.5993 GB, free: 10.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.774e-06/0.3088, allocations: 3.938 kB / 0.5993 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003121/0.3119, allocations: 1.537 MB / 0.6008 GB, free: 9.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.312, allocations: 132.5 kB / 0.601 GB, free: 8.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.3126, allocations: 0.5694 MB / 0.6015 GB, free: 8.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.3127, allocations: 37.7 kB / 0.6015 GB, free: 8.227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.3129, allocations: 367.8 kB / 0.6019 GB, free: 7.863 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.3131, allocations: 170.6 kB / 0.6021 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.3133, allocations: 142.5 kB / 0.6022 GB, free: 7.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3134, allocations: 382.6 kB / 0.6026 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.3138, allocations: 221.9 kB / 0.6028 GB, free: 6.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/0.3145, allocations: 0.524 MB / 0.6033 GB, free: 6.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.3155, allocations: 0.7718 MB / 0.604 GB, free: 5.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3155, allocations: 8 kB / 0.604 GB, free: 5.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001762/0.3173, allocations: 0.9338 MB / 0.605 GB, free: 4.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3173, allocations: 8 kB / 0.605 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.3173, allocations: 15.98 kB / 0.605 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3184, allocations: 263.7 kB / 0.6052 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.3188, allocations: 131.8 kB / 0.6054 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000938/0.3197, allocations: 0.8705 MB / 0.6062 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.3202, allocations: 27.98 kB / 0.6062 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.3202, allocations: 36 kB / 0.6063 GB, free: 3.074 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003237/0.3205, allocations: 245.5 kB / 0.6065 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.3207, allocations: 67.58 kB / 0.6066 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.322, allocations: 0.7102 MB / 0.6073 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.322, allocations: 8 kB / 0.6073 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.322, allocations: 0 / 0.6073 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.322, allocations: 3.984 kB / 0.6073 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.3241, allocations: 1.396 MB / 0.6086 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3241, allocations: 4.219 kB / 0.6086 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/0.325, allocations: 195.8 kB / 0.6088 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.3252, allocations: 60.75 kB / 0.6089 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.3253, allocations: 8 kB / 0.6089 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.3277, allocations: 2.991 MB / 0.6118 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3277, allocations: 4.031 kB / 0.6118 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.3292, allocations: 1.001 MB / 0.6128 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.3294, allocations: 200.6 kB / 0.613 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.3295, allocations: 20 kB / 0.613 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.3299, allocations: 15.98 kB / 0.613 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.33, allocations: 43.95 kB / 0.6131 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.33, allocations: 19.98 kB / 0.6131 GB, free: 11.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000494/0.3305, allocations: 419 kB / 0.6135 GB, free: 11.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3305, allocations: 3.938 kB / 0.6135 GB, free: 11.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000703/0.3312, allocations: 211.8 kB / 0.6137 GB, free: 11.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002084/0.3333, allocations: 1.677 MB / 0.6153 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3344, allocations: 0.5845 MB / 0.6159 GB, free: 8.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3344, allocations: 0 / 0.6159 GB, free: 8.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3355, allocations: 475.4 kB / 0.6163 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.337, allocations: 372 kB / 0.6167 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008775/0.3458, allocations: 6.544 MB / 0.6231 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.3463, allocations: 0.9346 MB / 0.624 GB, free: 0 / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000578/0.3469, allocations: 209.4 kB / 0.6242 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.3472, allocations: 231.4 kB / 0.6244 GB, free: 15.58 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3472, allocations: 0 / 0.6244 GB, free: 15.58 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05388/0.4011, allocations: 22.37 MB / 0.6463 GB, free: 9.445 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.08, allocations: 15.42 kB / 0.6463 GB, free: 9.434 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.584447003988316]