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.001661/0.001661, allocations: 122.5 kB / 18.51 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.002004/0.002004, allocations: 215.2 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.498/1.498, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2356/0.2356, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.002316/0.002316, allocations: 79.88 kB / 0.4917 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1305, allocations: 66.05 MB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0244/0.1549, allocations: 20.49 MB / 0.5762 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007152/0.1621, allocations: 4.306 MB / 0.5804 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008476/0.1629, allocations: 27.75 kB / 0.5804 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.164, allocations: 318 kB / 0.5807 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.1673, allocations: 0.8667 MB / 0.5816 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.1701, allocations: 0.8986 MB / 0.5824 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003112/0.1732, allocations: 1.801 MB / 0.5842 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007773/0.1739, allocations: 413.3 kB / 0.5846 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.1761, allocations: 0.9496 MB / 0.5855 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.1772, allocations: 0.6812 MB / 0.5862 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.1773, allocations: 60 kB / 0.5862 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009528/0.1782, allocations: 311.6 kB / 0.5865 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.1786, allocations: 267.1 kB / 0.5868 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.179, allocations: 386.2 kB / 0.5872 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.1806, allocations: 1.086 MB / 0.5882 GB, free: 4.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1806, allocations: 0 / 0.5882 GB, free: 4.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1806, allocations: 0 / 0.5882 GB, free: 4.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1806, allocations: 0 / 0.5882 GB, free: 4.609 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00247/0.1831, allocations: 1.07 MB / 0.5893 GB, free: 3.488 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1832, allocations: 8.031 kB / 0.5893 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.1833, allocations: 106.6 kB / 0.5894 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.1837, allocations: 96.41 kB / 0.5895 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.1846, allocations: 0.5214 MB / 0.59 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.1848, allocations: 108.9 kB / 0.5901 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.1849, allocations: 56.08 kB / 0.5901 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.1863, allocations: 0.8136 MB / 0.5909 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1863, allocations: 3.938 kB / 0.5909 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.1864, allocations: 27.98 kB / 0.591 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.622e-05/0.1864, allocations: 36.98 kB / 0.591 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.1876, allocations: 0.6478 MB / 0.5916 GB, free: 0.9414 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.2521/0.4397, allocations: 4.193 MB / 0.5957 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.4407, allocations: 396.4 kB / 0.5961 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.441, allocations: 195.1 kB / 0.5963 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.4414, allocations: 0.5026 MB / 0.5968 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.4414, allocations: 44.94 kB / 0.5968 GB, free: 33.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.853e-06/0.4414, allocations: 4.594 kB / 0.5968 GB, free: 33.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003091/0.4445, allocations: 1.535 MB / 0.5983 GB, free: 33.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.4445, allocations: 135.3 kB / 0.5985 GB, free: 33.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.4452, allocations: 0.5748 MB / 0.599 GB, free: 33.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.4452, allocations: 36.67 kB / 0.599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.4454, allocations: 359.1 kB / 0.5994 GB, free: 33.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.4455, allocations: 174.5 kB / 0.5996 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.4457, allocations: 135.8 kB / 0.5997 GB, free: 32.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.4458, allocations: 375.1 kB / 0.6 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.4462, allocations: 226.6 kB / 0.6003 GB, free: 32.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.4467, allocations: 0.5214 MB / 0.6008 GB, free: 32.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008919/0.4476, allocations: 0.7799 MB / 0.6015 GB, free: 31.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.4476, allocations: 2.906 kB / 0.6015 GB, free: 31.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001842/0.4494, allocations: 0.9381 MB / 0.6024 GB, free: 31.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.4495, allocations: 8.25 kB / 0.6025 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4495, allocations: 10.27 kB / 0.6025 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.4506, allocations: 267.8 kB / 0.6027 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.451, allocations: 121.5 kB / 0.6028 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008276/0.4518, allocations: 0.8743 MB / 0.6037 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.4523, allocations: 26.91 kB / 0.6037 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.4524, allocations: 35.2 kB / 0.6038 GB, free: 30.32 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.0002964/0.4527, allocations: 245.3 kB / 0.604 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.4528, allocations: 72.02 kB / 0.6041 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.4541, allocations: 0.7089 MB / 0.6047 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4542, allocations: 5.391 kB / 0.6048 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4542, allocations: 4.344 kB / 0.6048 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4542, allocations: 4.938 kB / 0.6048 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.4563, allocations: 1.4 MB / 0.6061 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4563, allocations: 2.109 kB / 0.6061 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.4573, allocations: 195.8 kB / 0.6063 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/0.4576, allocations: 58.34 kB / 0.6064 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.4576, allocations: 15.28 kB / 0.6064 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.4593, allocations: 2.986 MB / 0.6093 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4593, allocations: 2.188 kB / 0.6093 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.4607, allocations: 1.003 MB / 0.6103 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.461, allocations: 205.5 kB / 0.6105 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.53e-05/0.461, allocations: 9.375 kB / 0.6105 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.4614, allocations: 17.81 kB / 0.6105 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.4615, allocations: 39.3 kB / 0.6105 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.4615, allocations: 24.22 kB / 0.6106 GB, free: 25.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005426/0.4621, allocations: 424.8 kB / 0.611 GB, free: 25.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4621, allocations: 3.391 kB / 0.611 GB, free: 25.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009472/0.463, allocations: 207.3 kB / 0.6112 GB, free: 25.09 MB / 446.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.001923/0.465, allocations: 1.654 MB / 0.6128 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.4662, allocations: 0.5891 MB / 0.6134 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4662, allocations: 5.438 kB / 0.6134 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.4673, allocations: 467.2 kB / 0.6138 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.4691, allocations: 376.3 kB / 0.6142 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/0.4783, allocations: 6.546 MB / 0.6206 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.4787, allocations: 0.9412 MB / 0.6215 GB, free: 18.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007967/0.4795, allocations: 214 kB / 0.6217 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.4798, allocations: 235.8 kB / 0.6219 GB, free: 18.66 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4798, allocations: 0 / 0.6219 GB, free: 18.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07369/0.5535, allocations: 22.23 MB / 0.6436 GB, free: 1.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.65, allocations: 15.19 kB / 0.6436 GB, free: 1.758 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.75633510714397] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.754925048910081 13.779944431 13.594576431 Calling exit ...