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.LinearWater_pT.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.001333/0.001333, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001652/0.001652, allocations: 220.1 kB / 23 MB, free: 5.582 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.436/1.436, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.2283/0.2283, allocations: 46.89 MB / 359.4 MB, free: 4.898 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.LinearWater_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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.002296/0.002296, allocations: 75.88 kB / 0.4941 GB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3661, allocations: 65.98 MB / 0.5586 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0587/0.4248, allocations: 44.61 MB / 0.6021 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007311/0.4321, allocations: 4.413 MB / 0.6065 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009002/0.433, allocations: 23.81 kB / 0.6065 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.434, allocations: 326 kB / 0.6068 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.4361, allocations: 0.8628 MB / 0.6076 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.4389, allocations: 0.9069 MB / 0.6085 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002411/0.4414, allocations: 1.808 MB / 0.6103 GB, free: 180 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.4421, allocations: 397.4 kB / 0.6107 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.102/0.5441, allocations: 44.67 MB / 0.6543 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01759/0.5617, allocations: 8.023 MB / 0.6621 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002638/0.5619, allocations: 64 kB / 0.6622 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02486/0.5868, allocations: 10.7 MB / 0.6726 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006249/0.5874, allocations: 271.1 kB / 0.6729 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007104/0.5881, allocations: 394.2 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.5902, allocations: 1.094 MB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5902, allocations: 4 kB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5902, allocations: 0 / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.5903, allocations: 0 / 0.6743 GB, free: 13.86 MB / 0.5137 GB 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.002492/0.5927, allocations: 1.066 MB / 0.6754 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.5928, allocations: 12.02 kB / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.593, allocations: 98.7 kB / 0.6755 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.5933, allocations: 92.47 kB / 0.6756 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.5943, allocations: 0.537 MB / 0.6761 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.5944, allocations: 104.9 kB / 0.6762 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.5945, allocations: 55.92 kB / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.596, allocations: 0.8136 MB / 0.677 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.596, allocations: 4 kB / 0.677 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.596, allocations: 24 kB / 0.6771 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/0.5961, allocations: 36.92 kB / 0.6771 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.5973, allocations: 0.6439 MB / 0.6777 GB, free: 10.18 MB / 0.5137 GB 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.005664/0.6029, allocations: 4.218 MB / 0.6819 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.6039, allocations: 403.9 kB / 0.6822 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.6043, allocations: 197.4 kB / 0.6824 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005764/0.6049, allocations: 0.5029 MB / 0.6829 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.6049, allocations: 34.89 kB / 0.683 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.375e-06/0.6049, allocations: 4 kB / 0.683 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.00353/0.6084, allocations: 1.53 MB / 0.6844 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.6085, allocations: 136.5 kB / 0.6846 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008018/0.6094, allocations: 0.5732 MB / 0.6851 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.6094, allocations: 41.7 kB / 0.6852 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.6098, allocations: 359.9 kB / 0.6855 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.6099, allocations: 178.5 kB / 0.6857 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.6102, allocations: 134.6 kB / 0.6858 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.6104, allocations: 378.7 kB / 0.6862 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.6108, allocations: 221.9 kB / 0.6864 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.6115, allocations: 0.5204 MB / 0.6869 GB, free: 120 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.6126, allocations: 0.7872 MB / 0.6877 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.6126, allocations: 4 kB / 0.6877 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002009/0.6146, allocations: 0.9335 MB / 0.6886 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.6147, allocations: 14.48 kB / 0.6886 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.6147, allocations: 8 kB / 0.6886 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.6158, allocations: 271.6 kB / 0.6889 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.6162, allocations: 127.8 kB / 0.689 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.6174, allocations: 0.8645 MB / 0.6898 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.6179, allocations: 24 kB / 0.6899 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.6179, allocations: 39.98 kB / 0.6899 GB, free: 12.89 MB / 0.5294 GB 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.0005099/0.6185, allocations: 241.7 kB / 0.6901 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.6186, allocations: 67.58 kB / 0.6902 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.6201, allocations: 0.7127 MB / 0.6909 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.6201, allocations: 4 kB / 0.6909 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.6201, allocations: 8 kB / 0.6909 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.6201, allocations: 3.984 kB / 0.6909 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.6225, allocations: 1.396 MB / 0.6923 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.6226, allocations: 0 / 0.6923 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009783/0.6235, allocations: 191.7 kB / 0.6924 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.6238, allocations: 60.95 kB / 0.6925 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.6238, allocations: 11.98 kB / 0.6925 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/0.6268, allocations: 2.991 MB / 0.6954 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6268, allocations: 0 / 0.6954 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.6285, allocations: 1.001 MB / 0.6964 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.6288, allocations: 204.6 kB / 0.6966 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.6289, allocations: 12 kB / 0.6966 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.6293, allocations: 24 kB / 0.6966 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6294, allocations: 39.83 kB / 0.6967 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.6294, allocations: 23.98 kB / 0.6967 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000627/0.6301, allocations: 419 kB / 0.6971 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6301, allocations: 0 / 0.6971 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008679/0.6309, allocations: 207.9 kB / 0.6973 GB, free: 4.863 MB / 0.5294 GB 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.002605/0.6335, allocations: 1.68 MB / 0.6989 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.6349, allocations: 0.5776 MB / 0.6995 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6349, allocations: 0 / 0.6995 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.6361, allocations: 478.4 kB / 0.7 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.6377, allocations: 376 kB / 0.7003 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.6483, allocations: 6.544 MB / 0.7067 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.6491, allocations: 0.9462 MB / 0.7076 GB, free: 9.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008759/0.65, allocations: 207.8 kB / 0.7078 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.6503, allocations: 227.4 kB / 0.7081 GB, free: 9.406 MB / 0.545 GB Notification: Performance of SimCode: time 1.332e-06/0.6503, allocations: 4 kB / 0.7081 GB, free: 9.402 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06482/0.7152, allocations: 22.38 MB / 0.7299 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.98, allocations: 7.922 kB / 0.7299 GB, free: 3.242 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.06284746300662] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.083787618001224 14.350925499 13.758103887 Calling exit ...