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.001265/0.001265, allocations: 118.6 kB / 18.5 MB, free: 4.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.001353/0.001353, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.438/1.438, allocations: 230.2 MB / 254.5 MB, free: 15.37 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.2601/0.2601, allocations: 46.88 MB / 357.4 MB, free: 10.51 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.002201/0.002201, allocations: 71.88 kB / 0.4912 GB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1362, allocations: 65.98 MB / 0.5557 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0237/0.1599, allocations: 20.5 MB / 0.5757 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006987/0.1669, allocations: 4.306 MB / 0.5799 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.1676, allocations: 19.88 kB / 0.5799 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.1688, allocations: 318 kB / 0.5802 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.1711, allocations: 0.8706 MB / 0.5811 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.1735, allocations: 0.9033 MB / 0.5819 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.1758, allocations: 1.797 MB / 0.5837 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006444/0.1765, allocations: 425.4 kB / 0.5841 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.1783, allocations: 0.9378 MB / 0.585 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/0.1792, allocations: 0.6811 MB / 0.5857 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1793, allocations: 60 kB / 0.5857 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008076/0.1801, allocations: 311.6 kB / 0.586 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.1804, allocations: 271.1 kB / 0.5863 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.1809, allocations: 390.2 kB / 0.5867 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.1824, allocations: 1.09 MB / 0.5877 GB, free: 5.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1824, allocations: 4 kB / 0.5877 GB, free: 5.449 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1824, allocations: 0 / 0.5877 GB, free: 5.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1824, allocations: 0 / 0.5877 GB, free: 5.449 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.002315/0.1847, allocations: 1.067 MB / 0.5888 GB, free: 4.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1847, allocations: 12.03 kB / 0.5888 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.1849, allocations: 106.6 kB / 0.5889 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.1852, allocations: 92.42 kB / 0.589 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009749/0.1862, allocations: 0.5254 MB / 0.5895 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.1863, allocations: 104.9 kB / 0.5896 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/0.1864, allocations: 56.08 kB / 0.5896 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.1877, allocations: 0.8175 MB / 0.5904 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.1877, allocations: 3.938 kB / 0.5904 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.1878, allocations: 23.98 kB / 0.5905 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-05/0.1879, allocations: 36.98 kB / 0.5905 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.189, allocations: 0.6517 MB / 0.5911 GB, free: 1.777 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.2588/0.4478, allocations: 4.198 MB / 0.5952 GB, free: 35.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.4491, allocations: 398.2 kB / 0.5956 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.4495, allocations: 194.1 kB / 0.5958 GB, free: 35.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/0.45, allocations: 0.4994 MB / 0.5963 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.45, allocations: 48.66 kB / 0.5963 GB, free: 34.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.975e-06/0.45, allocations: 0 / 0.5963 GB, free: 34.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.004369/0.4544, allocations: 1.53 MB / 0.5978 GB, free: 34.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.4545, allocations: 140.7 kB / 0.598 GB, free: 34.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.4554, allocations: 0.5705 MB / 0.5985 GB, free: 34.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.4554, allocations: 34.89 kB / 0.5986 GB, free: 34.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.4557, allocations: 366.3 kB / 0.5989 GB, free: 34.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.4559, allocations: 175 kB / 0.5991 GB, free: 33.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.4562, allocations: 138.8 kB / 0.5992 GB, free: 33.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4563, allocations: 377.5 kB / 0.5996 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.4569, allocations: 223.1 kB / 0.5998 GB, free: 33.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/0.4576, allocations: 0.522 MB / 0.6003 GB, free: 33.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.4591, allocations: 0.7775 MB / 0.601 GB, free: 32.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4591, allocations: 2.531 kB / 0.601 GB, free: 32.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002574/0.4616, allocations: 0.9336 MB / 0.602 GB, free: 32.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.4617, allocations: 9.453 kB / 0.602 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.4617, allocations: 10.94 kB / 0.602 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.4633, allocations: 278.2 kB / 0.6022 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/0.464, allocations: 120.9 kB / 0.6024 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.4653, allocations: 0.8724 MB / 0.6032 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.4661, allocations: 23.66 kB / 0.6032 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-05/0.4662, allocations: 37.55 kB / 0.6033 GB, free: 31.33 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.0004529/0.4666, allocations: 247.7 kB / 0.6035 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.4668, allocations: 68.45 kB / 0.6036 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.4687, allocations: 0.7113 MB / 0.6043 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.4687, allocations: 8.641 kB / 0.6043 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4687, allocations: 3.438 kB / 0.6043 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4687, allocations: 2.578 kB / 0.6043 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.4718, allocations: 1.407 MB / 0.6057 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.4718, allocations: 1.594 kB / 0.6057 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.4733, allocations: 198.9 kB / 0.6058 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/0.4736, allocations: 55.69 kB / 0.6059 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.4737, allocations: 18.47 kB / 0.6059 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.476, allocations: 2.977 MB / 0.6088 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.476, allocations: 2.875 kB / 0.6088 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.4774, allocations: 1.006 MB / 0.6098 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.4777, allocations: 200.8 kB / 0.61 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/0.4778, allocations: 10.8 kB / 0.61 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.4782, allocations: 18 kB / 0.61 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.4783, allocations: 41 kB / 0.6101 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.4783, allocations: 24.8 kB / 0.6101 GB, free: 26.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005205/0.4788, allocations: 421.5 kB / 0.6105 GB, free: 26.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4788, allocations: 5.906 kB / 0.6105 GB, free: 26.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009012/0.4797, allocations: 207.6 kB / 0.6107 GB, free: 26.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.002123/0.4819, allocations: 1.673 MB / 0.6123 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.483, allocations: 0.5892 MB / 0.6129 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.483, allocations: 5.312 kB / 0.6129 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.4841, allocations: 471.6 kB / 0.6134 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.4858, allocations: 374 kB / 0.6137 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008871/0.4946, allocations: 6.545 MB / 0.6201 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.4952, allocations: 0.9364 MB / 0.621 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008108/0.496, allocations: 213.2 kB / 0.6212 GB, free: 19.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.4963, allocations: 234.5 kB / 0.6214 GB, free: 19.66 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4963, allocations: 1.312 kB / 0.6215 GB, free: 19.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06052/0.5568, allocations: 22.35 MB / 0.6433 GB, free: 2.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.97, allocations: 4.062 kB / 0.6433 GB, free: 2.871 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 & /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.85750307003036] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.074982333928347 14.098512276 13.911511241 Calling exit ...