Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 219.1 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 207.6 MB / 233 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06454/0.06454, allocations: 9.155 MB / 294.4 MB, free: 12.7 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 76.45 kB / 411.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08652, allocations: 50.75 MB / 461.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01827/0.1048, allocations: 13.27 MB / 475.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0232/0.128, allocations: 17.86 MB / 493 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1282, allocations: 0 / 493 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.1284, allocations: 47.72 kB / 493 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1286, allocations: 67.39 kB / 493.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02133/0.1499, allocations: 6.728 MB / 499.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.1502, allocations: 170.9 kB / 500 MB, free: 6.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.712e-05/0.1503, allocations: 9.25 kB / 500 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1505, allocations: 63.78 kB / 0.4883 GB, free: 6.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1506, allocations: 63.7 kB / 0.4884 GB, free: 6.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1506, allocations: 8 kB / 0.4884 GB, free: 6.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02341/0.174, allocations: 10.86 MB / 0.499 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.1741, allocations: 15.92 kB / 0.499 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1742, allocations: 63.69 kB / 0.4991 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.1901, allocations: 6.077 MB / 0.505 GB, free: 5.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.1901, allocations: 0 / 0.505 GB, free: 5.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1901, allocations: 4 kB / 0.505 GB, free: 5.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1901, allocations: 0 / 0.505 GB, free: 5.266 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.004646/0.1948, allocations: 1.315 MB / 0.5063 GB, free: 3.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1948, allocations: 11.98 kB / 0.5063 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.1949, allocations: 46.73 kB / 0.5063 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.1949, allocations: 16.84 kB / 0.5064 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1951, allocations: 130.3 kB / 0.5065 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1951, allocations: 8.375 kB / 0.5065 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1951, allocations: 15.94 kB / 0.5065 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/0.1961, allocations: 324 kB / 0.5068 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1961, allocations: 0 / 0.5068 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1961, allocations: 4 kB / 0.5068 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1961, allocations: 4 kB / 0.5068 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1971, allocations: 315.6 kB / 0.5071 GB, free: 3 MB / 382.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.001169/0.1983, allocations: 1.02 MB / 0.5081 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/0.1992, allocations: 291.6 kB / 0.5084 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.1995, allocations: 82.52 kB / 0.5085 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6135/0.813, allocations: 119.6 MB / 0.6253 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.813, allocations: 34.31 kB / 0.6253 GB, free: 12.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 2.354e-06/0.813, allocations: 5.688 kB / 0.6253 GB, free: 12.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.002011/0.8151, allocations: 493.2 kB / 0.6258 GB, free: 12.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.8151, allocations: 119.9 kB / 0.6259 GB, free: 12.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.8153, allocations: 146.1 kB / 0.626 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.8153, allocations: 29.69 kB / 0.6261 GB, free: 11.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.8154, allocations: 110.5 kB / 0.6262 GB, free: 11.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.8154, allocations: 47.78 kB / 0.6262 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.8155, allocations: 37.66 kB / 0.6263 GB, free: 11.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.8157, allocations: 322.8 kB / 0.6266 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.8159, allocations: 63.94 kB / 0.6266 GB, free: 11.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.8161, allocations: 107.5 kB / 0.6267 GB, free: 11.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.8166, allocations: 183.9 kB / 0.6269 GB, free: 10.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8166, allocations: 0 / 0.6269 GB, free: 10.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005436/0.8171, allocations: 205 kB / 0.6271 GB, free: 10.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.8171, allocations: 11.94 kB / 0.6271 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8171, allocations: 4 kB / 0.6271 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.8172, allocations: 0 / 0.6271 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.8174, allocations: 51.95 kB / 0.6272 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.8174, allocations: 3.938 kB / 0.6272 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.8175, allocations: 26.88 kB / 0.6272 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.8176, allocations: 12 kB / 0.6272 GB, free: 10.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001162/0.8177, allocations: 125.8 kB / 0.6273 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/0.8178, allocations: 19.89 kB / 0.6273 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.8191, allocations: 1.184 MB / 0.6285 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/0.8192, allocations: 19.97 kB / 0.6285 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8192, allocations: 7.938 kB / 0.6285 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8192, allocations: 0 / 0.6285 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.8199, allocations: 0.571 MB / 0.6291 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.8199, allocations: 0 / 0.6291 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.8201, allocations: 31.97 kB / 0.6291 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.8201, allocations: 3.984 kB / 0.6291 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.8201, allocations: 8 kB / 0.6291 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8201, allocations: 3.844 kB / 0.6291 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.8201, allocations: 7.938 kB / 0.6291 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.8211, allocations: 0.8773 MB / 0.63 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.8212, allocations: 51.56 kB / 0.63 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.8212, allocations: 12 kB / 0.6301 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.8215, allocations: 15.97 kB / 0.6301 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.8215, allocations: 15.92 kB / 0.6301 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.8215, allocations: 9.062 kB / 0.6301 GB, free: 7.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.329e-05/0.8216, allocations: 111.9 kB / 0.6302 GB, free: 7.547 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8216, allocations: 0 / 0.6302 GB, free: 7.547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003848/0.8255, allocations: 1.45 MB / 0.6316 GB, free: 6.094 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.007216/0.8327, allocations: 2.949 MB / 0.6345 GB, free: 3.281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007296/0.8334, allocations: 306.7 kB / 0.6348 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8334, allocations: 0 / 0.6348 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.8338, allocations: 225.2 kB / 0.635 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.8344, allocations: 43.89 kB / 0.635 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.8373, allocations: 1.299 MB / 0.6363 GB, free: 1.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.8377, allocations: 0.7921 MB / 0.6371 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.8379, allocations: 117.2 kB / 0.6372 GB, free: 456 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.838, allocations: 95.41 kB / 0.6373 GB, free: 360 kB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.838, allocations: 0 / 0.6373 GB, free: 360 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/0.9476, allocations: 55.58 MB / 0.6916 GB, free: 8.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.9, allocations: 15.81 kB / 0.6916 GB, free: 8.719 MB / 494.1 MB " [Timeout remaining time 644] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.935234204000153] Failed to read output from testmodel.py, exit status != 0: 16.05239475500275 16.082863986 15.886927327 Calling exit ...