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.001684/0.001684, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.002082/0.002082, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.478/1.478, allocations: 230.2 MB / 254.5 MB, free: 15.28 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.89 MB / 357.4 MB, free: 10.53 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.002211/0.002211, allocations: 75.88 kB / 0.4912 GB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.133, allocations: 65.99 MB / 0.5557 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3394/0.4724, allocations: 44.3 MB / 0.5989 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006493/0.4789, allocations: 4.4 MB / 0.6032 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008853/0.4798, allocations: 20.81 kB / 0.6032 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.4809, allocations: 320.1 kB / 0.6036 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.4837, allocations: 0.874 MB / 0.6044 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.4869, allocations: 0.8988 MB / 0.6053 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003175/0.4901, allocations: 1.801 MB / 0.607 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008486/0.4909, allocations: 407.4 kB / 0.6074 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09936/0.5903, allocations: 44.67 MB / 0.6511 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01813/0.6084, allocations: 8.02 MB / 0.6589 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.6086, allocations: 62.19 kB / 0.6589 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02523/0.6339, allocations: 10.71 MB / 0.6694 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006048/0.6345, allocations: 277.8 kB / 0.6697 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007132/0.6352, allocations: 389.1 kB / 0.67 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.6371, allocations: 1.088 MB / 0.6711 GB, free: 5.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6371, allocations: 0 / 0.6711 GB, free: 5.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6371, allocations: 0 / 0.6711 GB, free: 5.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.6371, allocations: 0 / 0.6711 GB, free: 5.469 MB / 494.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.002343/0.6394, allocations: 1.075 MB / 0.6721 GB, free: 4.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6395, allocations: 8.031 kB / 0.6722 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.6396, allocations: 94.7 kB / 0.6722 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000416/0.64, allocations: 96.45 kB / 0.6723 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009954/0.641, allocations: 0.5404 MB / 0.6729 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.6411, allocations: 101.1 kB / 0.673 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6412, allocations: 55.61 kB / 0.673 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.6426, allocations: 0.8141 MB / 0.6738 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.6426, allocations: 6.156 kB / 0.6738 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.6427, allocations: 28.55 kB / 0.6738 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/0.6427, allocations: 36.92 kB / 0.6739 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.6438, allocations: 0.6438 MB / 0.6745 GB, free: 1.824 MB / 494.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.005417/0.6493, allocations: 4.225 MB / 0.6786 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.6502, allocations: 394.9 kB / 0.679 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.6505, allocations: 197.4 kB / 0.6792 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/0.6511, allocations: 0.5053 MB / 0.6797 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.6511, allocations: 46.28 kB / 0.6797 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/0.6511, allocations: 0 / 0.6797 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003437/0.6545, allocations: 1.548 MB / 0.6812 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.6546, allocations: 136.5 kB / 0.6814 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.6554, allocations: 0.5694 MB / 0.6819 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.6554, allocations: 37.7 kB / 0.682 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.6557, allocations: 358.6 kB / 0.6823 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.6559, allocations: 170.8 kB / 0.6825 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.6561, allocations: 146.6 kB / 0.6826 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.6563, allocations: 378.7 kB / 0.683 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.6567, allocations: 221.9 kB / 0.6832 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.6574, allocations: 0.5126 MB / 0.6837 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6585, allocations: 0.7863 MB / 0.6845 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.6585, allocations: 8 kB / 0.6845 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001864/0.6604, allocations: 0.93 MB / 0.6854 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.6604, allocations: 12 kB / 0.6854 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6604, allocations: 8 kB / 0.6854 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.6615, allocations: 262.1 kB / 0.6856 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.6619, allocations: 127.8 kB / 0.6858 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.663, allocations: 0.8706 MB / 0.6866 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.6635, allocations: 28 kB / 0.6866 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.6635, allocations: 32 kB / 0.6867 GB, free: 4.574 MB / 0.4981 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.0003688/0.6639, allocations: 245.5 kB / 0.6869 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.664, allocations: 72.75 kB / 0.687 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.6655, allocations: 0.7162 MB / 0.6877 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.6655, allocations: 7.938 kB / 0.6877 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6655, allocations: 0 / 0.6877 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6655, allocations: 4 kB / 0.6877 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.6678, allocations: 1.396 MB / 0.689 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6678, allocations: 3.984 kB / 0.6891 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/0.6688, allocations: 196 kB / 0.6892 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002412/0.669, allocations: 56.67 kB / 0.6893 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.6691, allocations: 19.98 kB / 0.6893 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.6718, allocations: 2.987 MB / 0.6922 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6719, allocations: 3.938 kB / 0.6922 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.6736, allocations: 1.001 MB / 0.6932 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.674, allocations: 200.6 kB / 0.6934 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6741, allocations: 15.98 kB / 0.6934 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.6744, allocations: 12 kB / 0.6934 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.6745, allocations: 43.95 kB / 0.6935 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.6746, allocations: 19.98 kB / 0.6935 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005745/0.6751, allocations: 423 kB / 0.6939 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6751, allocations: 0 / 0.6939 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008322/0.676, allocations: 207.9 kB / 0.6941 GB, free: 12.55 MB / 0.5137 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.002533/0.6785, allocations: 1.674 MB / 0.6957 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.6798, allocations: 0.5731 MB / 0.6963 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6798, allocations: 0 / 0.6963 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.6811, allocations: 483.4 kB / 0.6967 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.6828, allocations: 375.5 kB / 0.6971 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.6934, allocations: 6.54 MB / 0.7035 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/0.6941, allocations: 0.9346 MB / 0.7044 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007661/0.6948, allocations: 215.4 kB / 0.7046 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.6952, allocations: 231.4 kB / 0.7048 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.6952, allocations: 0 / 0.7048 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06061/0.7558, allocations: 22.34 MB / 0.7266 GB, free: 11.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.06, allocations: 11.66 kB / 0.7267 GB, free: 11.09 MB / 0.545 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 --stepSize=0.000201919 --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: 16.99625379173085] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.170649345964193 14.190882052 13.549776115 Calling exit ...