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.001282/0.001282, allocations: 110.3 kB / 20.22 MB, free: 1.812 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.001392/0.001392, allocations: 217.7 kB / 23.48 MB, free: 5.254 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.4/1.4, allocations: 230.2 MB / 256.8 MB, free: 8.574 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.2223/0.2223, allocations: 46.88 MB / 360 MB, free: 4.727 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.002224/0.002224, allocations: 83.86 kB / 0.4951 GB, free: 8.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3348, allocations: 66 MB / 0.5595 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02295/0.3577, allocations: 20.68 MB / 0.5797 GB, free: 240 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006931/0.3646, allocations: 4.337 MB / 0.584 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008484/0.3655, allocations: 23.88 kB / 0.584 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.3667, allocations: 322 kB / 0.5843 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.3694, allocations: 0.8667 MB / 0.5851 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.372, allocations: 0.9143 MB / 0.586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.3747, allocations: 1.801 MB / 0.5878 GB, free: 7.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008551/0.3756, allocations: 393.4 kB / 0.5882 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.3778, allocations: 0.9535 MB / 0.5891 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.3791, allocations: 0.6694 MB / 0.5898 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002494/0.3794, allocations: 60 kB / 0.5898 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.3805, allocations: 319.6 kB / 0.5901 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000341/0.3808, allocations: 267.2 kB / 0.5904 GB, free: 5.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.3813, allocations: 402.1 kB / 0.5908 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.3829, allocations: 1.094 MB / 0.5918 GB, free: 3.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3829, allocations: 3.984 kB / 0.5918 GB, free: 3.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3829, allocations: 0 / 0.5918 GB, free: 3.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.3829, allocations: 0 / 0.5918 GB, free: 3.805 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.002247/0.3851, allocations: 1.067 MB / 0.5929 GB, free: 2.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3852, allocations: 8.031 kB / 0.5929 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.3853, allocations: 98.7 kB / 0.593 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.3857, allocations: 100.4 kB / 0.5931 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009085/0.3866, allocations: 0.5331 MB / 0.5936 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.3867, allocations: 96.97 kB / 0.5937 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-05/0.3868, allocations: 60.06 kB / 0.5937 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.3881, allocations: 0.8136 MB / 0.5945 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.3881, allocations: 4 kB / 0.5945 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.3882, allocations: 27.94 kB / 0.5946 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.3882, allocations: 40.97 kB / 0.5946 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.3893, allocations: 0.6439 MB / 0.5952 GB, free: 132 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.005099/0.3944, allocations: 4.21 MB / 0.5993 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.3953, allocations: 399.9 kB / 0.5997 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.3956, allocations: 193.4 kB / 0.5999 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005271/0.3962, allocations: 0.5029 MB / 0.6004 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3962, allocations: 34.89 kB / 0.6004 GB, free: 10.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.3962, allocations: 4 kB / 0.6004 GB, free: 10.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003286/0.3995, allocations: 1.541 MB / 0.6019 GB, free: 8.785 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/0.3996, allocations: 132.5 kB / 0.6021 GB, free: 8.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.4002, allocations: 0.5694 MB / 0.6026 GB, free: 8.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.4003, allocations: 37.7 kB / 0.6027 GB, free: 8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.4006, allocations: 363.8 kB / 0.603 GB, free: 7.641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.4007, allocations: 174.6 kB / 0.6032 GB, free: 7.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.4009, allocations: 134.6 kB / 0.6033 GB, free: 7.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4011, allocations: 378.7 kB / 0.6037 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.4015, allocations: 229.9 kB / 0.6039 GB, free: 6.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.4022, allocations: 0.5201 MB / 0.6044 GB, free: 6.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.4032, allocations: 0.7757 MB / 0.6051 GB, free: 5.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4032, allocations: 4 kB / 0.6052 GB, free: 5.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001798/0.405, allocations: 0.934 MB / 0.6061 GB, free: 4.223 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4051, allocations: 10.5 kB / 0.6061 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.4051, allocations: 8 kB / 0.6061 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.4062, allocations: 279.8 kB / 0.6063 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.4066, allocations: 123.8 kB / 0.6065 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.4076, allocations: 0.8644 MB / 0.6073 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.4081, allocations: 35.98 kB / 0.6073 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/0.4082, allocations: 36 kB / 0.6074 GB, free: 2.852 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.0003724/0.4085, allocations: 245.5 kB / 0.6076 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4087, allocations: 71.58 kB / 0.6077 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.41, allocations: 0.7116 MB / 0.6084 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.41, allocations: 4 kB / 0.6084 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.4101, allocations: 4 kB / 0.6084 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4101, allocations: 3.984 kB / 0.6084 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.4123, allocations: 1.396 MB / 0.6098 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4123, allocations: 3.938 kB / 0.6098 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009607/0.4132, allocations: 192 kB / 0.6099 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/0.4135, allocations: 64.73 kB / 0.61 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.4135, allocations: 8 kB / 0.61 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.4162, allocations: 2.983 MB / 0.6129 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4162, allocations: 0 / 0.6129 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.4179, allocations: 1.001 MB / 0.6139 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.4182, allocations: 204.6 kB / 0.6141 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.4183, allocations: 12 kB / 0.6141 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.4187, allocations: 19.98 kB / 0.6141 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/0.4188, allocations: 39.83 kB / 0.6142 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.4188, allocations: 31.92 kB / 0.6142 GB, free: 11.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005416/0.4194, allocations: 423 kB / 0.6146 GB, free: 11.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4194, allocations: 4.062 kB / 0.6146 GB, free: 11.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007869/0.4202, allocations: 203.8 kB / 0.6148 GB, free: 10.81 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.002338/0.4225, allocations: 1.684 MB / 0.6164 GB, free: 9.086 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.4238, allocations: 0.5854 MB / 0.617 GB, free: 8.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4238, allocations: 4 kB / 0.617 GB, free: 8.496 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.425, allocations: 470 kB / 0.6175 GB, free: 8.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.4266, allocations: 368.2 kB / 0.6178 GB, free: 7.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009908/0.4365, allocations: 6.54 MB / 0.6242 GB, free: 0.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.4372, allocations: 0.9385 MB / 0.6251 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007264/0.4379, allocations: 213.2 kB / 0.6253 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.4383, allocations: 231.4 kB / 0.6255 GB, free: 15.36 MB / 478.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4383, allocations: 4 kB / 0.6255 GB, free: 15.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06731/0.5056, allocations: 22.37 MB / 0.6474 GB, free: 9.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.49, allocations: 11.91 kB / 0.6474 GB, free: 9.195 MB / 494.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.214356472948566] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.596605136059225 13.614251188 13.227697014 Calling exit ...