Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.001242/0.001242, allocations: 118.7 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.001295/0.001295, allocations: 210.5 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.465/1.465, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2295/0.2295, allocations: 46.88 MB / 357.4 MB, free: 10.55 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.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",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.002298/0.002298, allocations: 80.48 kB / 0.4912 GB, free: 26.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1315, allocations: 65.98 MB / 0.5556 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01663/0.1481, allocations: 12.54 MB / 0.5679 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1498, allocations: 1.401 MB / 0.5693 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.1498, allocations: 0 / 0.5693 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.15, allocations: 27.81 kB / 0.5693 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005849/0.1558, allocations: 2.228 MB / 0.5715 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.851e-06/0.1558, allocations: 4 kB / 0.5715 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1559, allocations: 43.72 kB / 0.5715 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.156, allocations: 0 / 0.5715 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.1561, allocations: 23.86 kB / 0.5715 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.1561, allocations: 7.938 kB / 0.5715 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.677e-06/0.1561, allocations: 7.938 kB / 0.5715 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006833/0.163, allocations: 3.851 MB / 0.5753 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.163, allocations: 0 / 0.5753 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.163, allocations: 15.94 kB / 0.5753 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00367/0.1667, allocations: 1.988 MB / 0.5773 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1667, allocations: 0 / 0.5773 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1667, allocations: 0 / 0.5773 GB, free: 2.969 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1667, allocations: 0 / 0.5773 GB, free: 2.969 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001246/0.168, allocations: 0.572 MB / 0.5778 GB, free: 2.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.168, allocations: 12.03 kB / 0.5778 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.168, allocations: 30.75 kB / 0.5779 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1682, allocations: 20.88 kB / 0.5779 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1683, allocations: 160.4 kB / 0.578 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1684, allocations: 4.375 kB / 0.578 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1684, allocations: 4.312 kB / 0.578 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1686, allocations: 95.3 kB / 0.5781 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1686, allocations: 3.984 kB / 0.5781 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1687, allocations: 0 / 0.5781 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1687, allocations: 4 kB / 0.5781 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.1688, allocations: 43.95 kB / 0.5782 GB, free: 1.918 MB / 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.0004987/0.1693, allocations: 368.8 kB / 0.5785 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1695, allocations: 58.48 kB / 0.5786 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.1695, allocations: 8.953 kB / 0.5786 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02138/0.1909, allocations: 10.42 MB / 0.5888 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.191, allocations: 34.56 kB / 0.5888 GB, free: 5.781 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.191, allocations: 0 / 0.5888 GB, free: 5.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004558/0.1914, allocations: 101.6 kB / 0.5889 GB, free: 5.676 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1915, allocations: 55.41 kB / 0.5889 GB, free: 5.609 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.1915, allocations: 105.8 kB / 0.5891 GB, free: 5.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1916, allocations: 25.7 kB / 0.5891 GB, free: 5.465 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.1916, allocations: 92.03 kB / 0.5892 GB, free: 5.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.1916, allocations: 15.89 kB / 0.5892 GB, free: 5.355 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1917, allocations: 21.66 kB / 0.5892 GB, free: 5.328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1918, allocations: 314.8 kB / 0.5895 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.1918, allocations: 15.98 kB / 0.5895 GB, free: 4.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-05/0.1919, allocations: 30.58 kB / 0.5895 GB, free: 4.957 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.1919, allocations: 38.52 kB / 0.5896 GB, free: 4.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.192, allocations: 0 / 0.5896 GB, free: 4.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001023/0.1921, allocations: 65.55 kB / 0.5896 GB, free: 4.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1921, allocations: 8.062 kB / 0.5896 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1921, allocations: 4 kB / 0.5897 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1921, allocations: 0 / 0.5897 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.1922, allocations: 12 kB / 0.5897 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1922, allocations: 7.938 kB / 0.5897 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.1922, allocations: 7.891 kB / 0.5897 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1922, allocations: 4 kB / 0.5897 GB, free: 4.797 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.1923, allocations: 113.8 kB / 0.5898 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1924, allocations: 4.422 kB / 0.5898 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.1928, allocations: 378.9 kB / 0.5902 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.1928, allocations: 0 / 0.5902 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1928, allocations: 4 kB / 0.5902 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.1928, allocations: 11.91 kB / 0.5902 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.1931, allocations: 282.1 kB / 0.5904 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1931, allocations: 0 / 0.5904 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.1932, allocations: 15.92 kB / 0.5905 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1932, allocations: 0 / 0.5905 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1932, allocations: 0 / 0.5905 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1932, allocations: 0 / 0.5905 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1932, allocations: 4 kB / 0.5905 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.1934, allocations: 281.7 kB / 0.5907 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.1935, allocations: 92.95 kB / 0.5908 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1935, allocations: 4 kB / 0.5908 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.1936, allocations: 4 kB / 0.5908 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.1936, allocations: 0 / 0.5908 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.1936, allocations: 11.92 kB / 0.5908 GB, free: 3.516 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.998e-05/0.1936, allocations: 83.28 kB / 0.5909 GB, free: 3.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1936, allocations: 3.938 kB / 0.5909 GB, free: 3.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001248/0.1949, allocations: 443.4 kB / 0.5913 GB, free: 2.996 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002147/0.197, allocations: 1.285 MB / 0.5926 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.1972, allocations: 83.84 kB / 0.5927 GB, free: 1.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1972, allocations: 0 / 0.5927 GB, free: 1.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.1973, allocations: 63.98 kB / 0.5927 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1976, allocations: 19.8 kB / 0.5928 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1986, allocations: 477.5 kB / 0.5932 GB, free: 1.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.199, allocations: 0.7047 MB / 0.5939 GB, free: 284 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.199, allocations: 23.95 kB / 0.5939 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.1991, allocations: 35.42 kB / 0.594 GB, free: 224 kB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1991, allocations: 4 kB / 0.594 GB, free: 220 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/0.2446, allocations: 15.64 MB / 0.6092 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/8.825, allocations: 9.016 kB / 0.6092 GB, free: 0.6523 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.990455871913582] Failed to read output from testmodel.py, exit status != 0: ['time', 'h_dew'] 9.180741584394127 9.19431371 9.024608277 Calling exit ...