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.001533/0.001533, 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.001736/0.001736, 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.411/1.411, 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.2265/0.2265, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.00238/0.00238, allocations: 76.11 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3375, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02407/0.3616, allocations: 20.69 MB / 0.5817 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006921/0.3685, allocations: 4.345 MB / 0.586 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007115/0.3692, allocations: 27.75 kB / 0.586 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009171/0.3701, allocations: 322 kB / 0.5863 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.3721, allocations: 0.8862 MB / 0.5872 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.3745, allocations: 0.9222 MB / 0.5881 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.3768, allocations: 1.817 MB / 0.5898 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006624/0.3774, allocations: 401.6 kB / 0.5902 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.3795, allocations: 0.9574 MB / 0.5912 GB, free: 5.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.3808, allocations: 0.6773 MB / 0.5918 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.3809, allocations: 60 kB / 0.5919 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.382, allocations: 331.6 kB / 0.5922 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.3824, allocations: 263.2 kB / 0.5925 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005721/0.383, allocations: 390.2 kB / 0.5928 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.3848, allocations: 1.094 MB / 0.5939 GB, free: 3.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3848, allocations: 0 / 0.5939 GB, free: 3.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3848, allocations: 0 / 0.5939 GB, free: 3.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3848, allocations: 0 / 0.5939 GB, free: 3.059 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.3871, allocations: 0.9912 MB / 0.5949 GB, free: 2.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.3871, allocations: 8.031 kB / 0.5949 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.3873, allocations: 98.69 kB / 0.595 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.3877, allocations: 100.4 kB / 0.5951 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/0.3887, allocations: 470.7 kB / 0.5955 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.3888, allocations: 160.3 kB / 0.5957 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/0.3889, allocations: 52.08 kB / 0.5957 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.3902, allocations: 0.8214 MB / 0.5965 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.3903, allocations: 0 / 0.5965 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.3903, allocations: 24 kB / 0.5965 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.756e-05/0.3904, allocations: 36.92 kB / 0.5966 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.3915, allocations: 0.6478 MB / 0.5972 GB, free: 15.5 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.005243/0.3968, allocations: 4.17 MB / 0.6013 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.3977, allocations: 395.9 kB / 0.6017 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.398, allocations: 193.4 kB / 0.6018 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/0.3983, allocations: 56.28 kB / 0.6019 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.3984, allocations: 34.89 kB / 0.6019 GB, free: 10.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.993e-06/0.3984, allocations: 4 kB / 0.6019 GB, free: 10.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003395/0.4018, allocations: 1.452 MB / 0.6033 GB, free: 8.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.4019, allocations: 140.5 kB / 0.6035 GB, free: 8.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.4026, allocations: 0.5732 MB / 0.604 GB, free: 8.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.4026, allocations: 33.7 kB / 0.6041 GB, free: 8.082 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.4029, allocations: 359.9 kB / 0.6044 GB, free: 7.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.403, allocations: 182.5 kB / 0.6046 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.4033, allocations: 134.6 kB / 0.6047 GB, free: 7.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.4035, allocations: 382.7 kB / 0.6051 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.4039, allocations: 221.9 kB / 0.6053 GB, free: 6.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.4046, allocations: 0.5248 MB / 0.6058 GB, free: 6.145 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.4057, allocations: 0.7757 MB / 0.6066 GB, free: 5.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.4057, allocations: 4 kB / 0.6066 GB, free: 5.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001792/0.4075, allocations: 0.9332 MB / 0.6075 GB, free: 4.297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4075, allocations: 8.938 kB / 0.6075 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.4075, allocations: 8 kB / 0.6075 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.4086, allocations: 272.6 kB / 0.6078 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.4091, allocations: 123.8 kB / 0.6079 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.4101, allocations: 0.8683 MB / 0.6087 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.4105, allocations: 28 kB / 0.6087 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.4106, allocations: 40.06 kB / 0.6088 GB, free: 2.93 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.0003465/0.411, allocations: 250.2 kB / 0.609 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.4111, allocations: 67.58 kB / 0.6091 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.4124, allocations: 0.7195 MB / 0.6098 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4124, allocations: 4 kB / 0.6098 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4125, allocations: 0 / 0.6098 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4125, allocations: 0 / 0.6098 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.4147, allocations: 1.371 MB / 0.6111 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4147, allocations: 0 / 0.6111 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009566/0.4157, allocations: 195.7 kB / 0.6113 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002442/0.4159, allocations: 64.95 kB / 0.6114 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.4159, allocations: 12 kB / 0.6114 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.4185, allocations: 2.777 MB / 0.6141 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4185, allocations: 4.031 kB / 0.6141 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.4202, allocations: 1.009 MB / 0.6151 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.4205, allocations: 135.5 kB / 0.6152 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.4206, allocations: 8 kB / 0.6152 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.4209, allocations: 23.98 kB / 0.6153 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.421, allocations: 39.81 kB / 0.6153 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.4211, allocations: 19.98 kB / 0.6153 GB, free: 11.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005608/0.4216, allocations: 431 kB / 0.6157 GB, free: 11.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4216, allocations: 0 / 0.6157 GB, free: 11.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007289/0.4224, allocations: 207.9 kB / 0.6159 GB, free: 11.26 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.002153/0.4245, allocations: 1.65 MB / 0.6175 GB, free: 9.555 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.4257, allocations: 0.5931 MB / 0.6181 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4257, allocations: 0 / 0.6181 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.4269, allocations: 478.5 kB / 0.6186 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.4284, allocations: 363.5 kB / 0.6189 GB, free: 8.137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009861/0.4383, allocations: 6.549 MB / 0.6253 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.4389, allocations: 0.9384 MB / 0.6262 GB, free: 240 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006961/0.4396, allocations: 213.9 kB / 0.6264 GB, free: 40 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.44, allocations: 235.4 kB / 0.6267 GB, free: 15.8 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.44, allocations: 0 / 0.6267 GB, free: 15.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05923/0.4992, allocations: 22.75 MB / 0.6489 GB, free: 9.266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.51, allocations: 7.859 kB / 0.6489 GB, free: 9.258 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.28622600995004] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.619614395312965 13.636055995 13.247802537 Calling exit ...