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.001855/0.001855, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002075/0.002075, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.514/1.514, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2583/0.2583, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.002239/0.002239, allocations: 79.86 kB / 0.4916 GB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1398, allocations: 66.04 MB / 0.5561 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01854/0.1583, allocations: 12.55 MB / 0.5684 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1601, allocations: 1.393 MB / 0.5698 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.1602, allocations: 0 / 0.5698 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.1603, allocations: 31.81 kB / 0.5698 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0067/0.167, allocations: 2.234 MB / 0.572 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.074e-06/0.167, allocations: 0 / 0.572 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.1672, allocations: 39.69 kB / 0.572 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.1672, allocations: 11.92 kB / 0.572 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.1673, allocations: 8 kB / 0.572 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.1673, allocations: 19.94 kB / 0.572 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.1674, allocations: 0 / 0.572 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007214/0.1746, allocations: 3.847 MB / 0.5758 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.1746, allocations: 15.92 kB / 0.5758 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.1746, allocations: 11.94 kB / 0.5758 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004368/0.179, allocations: 1.98 MB / 0.5778 GB, free: 15.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.179, allocations: 11.88 kB / 0.5778 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.179, allocations: 0 / 0.5778 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.179, allocations: 0 / 0.5778 GB, free: 15.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002151/0.1812, allocations: 0.5642 MB / 0.5783 GB, free: 14.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1812, allocations: 8.031 kB / 0.5783 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.1813, allocations: 34.75 kB / 0.5784 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.1815, allocations: 16.88 kB / 0.5784 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1817, allocations: 164.4 kB / 0.5785 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1817, allocations: 4.375 kB / 0.5785 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1818, allocations: 4.375 kB / 0.5785 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.1821, allocations: 91.3 kB / 0.5786 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1821, allocations: 11.86 kB / 0.5786 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1822, allocations: 0 / 0.5786 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1822, allocations: 0 / 0.5786 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.1824, allocations: 47.95 kB / 0.5787 GB, free: 14.35 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.0006325/0.1831, allocations: 365 kB / 0.579 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1833, allocations: 66.45 kB / 0.5791 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.1834, allocations: 12.86 kB / 0.5791 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03316/0.2165, allocations: 10.41 MB / 0.5893 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.2166, allocations: 34.55 kB / 0.5893 GB, free: 2.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.2166, allocations: 0 / 0.5893 GB, free: 2.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006786/0.2173, allocations: 97.62 kB / 0.5894 GB, free: 2.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.2173, allocations: 63.34 kB / 0.5895 GB, free: 2.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2174, allocations: 97.8 kB / 0.5896 GB, free: 1.926 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.2174, allocations: 25.7 kB / 0.5896 GB, free: 1.895 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.2175, allocations: 100.1 kB / 0.5897 GB, free: 1.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.2176, allocations: 15.84 kB / 0.5897 GB, free: 1.777 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.2176, allocations: 17.72 kB / 0.5897 GB, free: 1.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.2178, allocations: 326.8 kB / 0.59 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.2178, allocations: 4 kB / 0.59 GB, free: 1.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.2179, allocations: 22.58 kB / 0.5901 GB, free: 1.391 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.218, allocations: 46.5 kB / 0.5901 GB, free: 1.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.218, allocations: 0 / 0.5901 GB, free: 1.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001662/0.2182, allocations: 65.62 kB / 0.5902 GB, free: 1.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2182, allocations: 5.875 kB / 0.5902 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2182, allocations: 0 / 0.5902 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2182, allocations: 0 / 0.5902 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.907e-05/0.2183, allocations: 15.98 kB / 0.5902 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2183, allocations: 3.984 kB / 0.5902 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.2184, allocations: 11.95 kB / 0.5902 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.2184, allocations: 4 kB / 0.5902 GB, free: 1.227 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.0001217/0.2185, allocations: 113.8 kB / 0.5903 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.2185, allocations: 4.359 kB / 0.5903 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/0.2192, allocations: 375.4 kB / 0.5907 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.2192, allocations: 7.984 kB / 0.5907 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.2192, allocations: 3.984 kB / 0.5907 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2192, allocations: 7.938 kB / 0.5907 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.2197, allocations: 282.2 kB / 0.591 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2197, allocations: 0 / 0.591 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.2197, allocations: 8 kB / 0.591 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2197, allocations: 0 / 0.591 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2197, allocations: 0 / 0.591 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2197, allocations: 0 / 0.591 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2197, allocations: 3.938 kB / 0.591 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.2201, allocations: 289.6 kB / 0.5912 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2993/0.5194, allocations: 97 kB / 0.5913 GB, free: 36.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.5194, allocations: 4.562 kB / 0.5913 GB, free: 36.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.5195, allocations: 0.6875 kB / 0.5913 GB, free: 36.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.5195, allocations: 6.125 kB / 0.5913 GB, free: 36.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.5195, allocations: 6.531 kB / 0.5914 GB, free: 36.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.5196, allocations: 80.56 kB / 0.5914 GB, free: 36.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5196, allocations: 0 / 0.5914 GB, free: 36.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001404/0.521, allocations: 448.3 kB / 0.5919 GB, free: 36.69 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.002304/0.5233, allocations: 1.267 MB / 0.5931 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.5235, allocations: 83.25 kB / 0.5932 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5235, allocations: 0 / 0.5932 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.5236, allocations: 67.02 kB / 0.5932 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.5239, allocations: 17.81 kB / 0.5933 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.5249, allocations: 458.6 kB / 0.5937 GB, free: 35.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.5251, allocations: 0.7097 MB / 0.5944 GB, free: 35.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.487e-05/0.5251, allocations: 27.75 kB / 0.5944 GB, free: 35.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.5252, allocations: 30.97 kB / 0.5944 GB, free: 35.09 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5252, allocations: 0.9844 kB / 0.5944 GB, free: 35.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04735/0.5726, allocations: 15.66 MB / 0.6097 GB, free: 30.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/9.01, allocations: 6.453 kB / 0.6097 GB, free: 30.47 MB / 446.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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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: 12.199903796892613] Failed to read output from testmodel.py, exit status != 0: ['time', 'h_dew'] 9.083610445726663 9.094687825 8.913506817 Calling exit ...