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.001338/0.001338, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001464/0.001464, allocations: 212 kB / 20.13 MB, free: 2.949 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.421/1.421, allocations: 207.6 MB / 230.5 MB, free: 3.988 MB / 174.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.04973/0.04973, allocations: 9.149 MB / 291.5 MB, free: 7.176 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="cs",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.002188/0.002188, allocations: 75.89 kB / 406.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2649, allocations: 50.71 MB / 457.3 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01565/0.2805, allocations: 13.21 MB / 470.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0223/0.3028, allocations: 17.8 MB / 488.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.303, allocations: 3.938 kB / 488.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.3033, allocations: 47.7 kB / 488.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.3035, allocations: 71.34 kB / 488.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01836/0.3218, allocations: 6.717 MB / 495.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.3221, allocations: 170.9 kB / 495.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.3222, allocations: 13.05 kB / 495.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3223, allocations: 55.8 kB / 495.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3224, allocations: 67.7 kB / 495.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3224, allocations: 4 kB / 495.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02075/0.3432, allocations: 10.84 MB / 0.4944 GB, free: 6.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.3432, allocations: 15.92 kB / 0.4944 GB, free: 6.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.3434, allocations: 71.66 kB / 0.4945 GB, free: 6.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.3589, allocations: 6.065 MB / 0.5004 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3589, allocations: 0 / 0.5004 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3589, allocations: 0 / 0.5004 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.359, allocations: 0 / 0.5004 GB, free: 0.6289 MB / 366.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.004725/0.3637, allocations: 1.39 MB / 0.5018 GB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3637, allocations: 8.031 kB / 0.5018 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.329e-05/0.3638, allocations: 8.188 kB / 0.5018 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.3638, allocations: 46.73 kB / 0.5018 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.3639, allocations: 16.84 kB / 0.5018 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.364, allocations: 188.2 kB / 0.502 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3641, allocations: 12.12 kB / 0.502 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.3641, allocations: 8 kB / 0.502 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/0.3651, allocations: 330.4 kB / 0.5023 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3651, allocations: 0 / 0.5023 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.3651, allocations: 11.94 kB / 0.5024 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3651, allocations: 0 / 0.5024 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.3662, allocations: 311.6 kB / 0.5027 GB, free: 14.19 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.001062/0.3672, allocations: 1.063 MB / 0.5037 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/0.3681, allocations: 283.6 kB / 0.504 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.3684, allocations: 86.52 kB / 0.504 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6251/0.9935, allocations: 184.4 MB / 0.6841 GB, free: 102.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.9935, allocations: 38.31 kB / 0.6841 GB, free: 102.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.983e-06/0.9935, allocations: 0 / 0.6841 GB, free: 102.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001806/0.9953, allocations: 488.1 kB / 0.6846 GB, free: 101.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.9954, allocations: 110.3 kB / 0.6847 GB, free: 101.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.9955, allocations: 142.5 kB / 0.6848 GB, free: 101.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.9955, allocations: 37.7 kB / 0.6849 GB, free: 101.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.9955, allocations: 109.9 kB / 0.685 GB, free: 101.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.9955, allocations: 43.11 kB / 0.685 GB, free: 101.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.9956, allocations: 45.66 kB / 0.685 GB, free: 101.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.9956, allocations: 322.8 kB / 0.6854 GB, free: 101 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.9958, allocations: 55.94 kB / 0.6854 GB, free: 101 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.996, allocations: 114.6 kB / 0.6855 GB, free: 100.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.9964, allocations: 174.6 kB / 0.6857 GB, free: 100.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9964, allocations: 4 kB / 0.6857 GB, free: 100.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004657/0.9969, allocations: 210.5 kB / 0.6859 GB, free: 100.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9969, allocations: 8 kB / 0.6859 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.9969, allocations: 4.219 kB / 0.6859 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.9969, allocations: 4 kB / 0.6859 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.9971, allocations: 39.97 kB / 0.6859 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.9971, allocations: 11.92 kB / 0.6859 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.9972, allocations: 26.05 kB / 0.686 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.9973, allocations: 8 kB / 0.686 GB, free: 100.4 MB / 494.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 8.126e-05/0.9973, allocations: 125.1 kB / 0.6861 GB, free: 100.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.9974, allocations: 18.02 kB / 0.6861 GB, free: 100.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008776/0.9983, allocations: 1.14 MB / 0.6872 GB, free: 99.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.9983, allocations: 15.97 kB / 0.6872 GB, free: 99.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9983, allocations: 0 / 0.6872 GB, free: 99.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.9983, allocations: 12.91 kB / 0.6873 GB, free: 99.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.9988, allocations: 0.5791 MB / 0.6878 GB, free: 98.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9988, allocations: 0 / 0.6878 GB, free: 98.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.9989, allocations: 36.84 kB / 0.6879 GB, free: 98.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.9989, allocations: 0 / 0.6879 GB, free: 98.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.9989, allocations: 7.984 kB / 0.6879 GB, free: 98.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.9989, allocations: 0 / 0.6879 GB, free: 98.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9989, allocations: 4 kB / 0.6879 GB, free: 98.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.9997, allocations: 0.8631 MB / 0.6887 GB, free: 97.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.9997, allocations: 132 kB / 0.6888 GB, free: 97.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.9997, allocations: 7.438 kB / 0.6888 GB, free: 97.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/1, allocations: 23.97 kB / 0.6889 GB, free: 97.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/1, allocations: 15.92 kB / 0.6889 GB, free: 97.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/1, allocations: 8 kB / 0.6889 GB, free: 97.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.571e-05/1, allocations: 111.9 kB / 0.689 GB, free: 97.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1, allocations: 0 / 0.689 GB, free: 97.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003161/1.003, allocations: 1.45 MB / 0.6904 GB, free: 95.91 MB / 494.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.006914/1.01, allocations: 2.926 MB / 0.6933 GB, free: 93.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006364/1.011, allocations: 298.7 kB / 0.6936 GB, free: 92.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.011, allocations: 0 / 0.6936 GB, free: 92.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/1.011, allocations: 213.3 kB / 0.6938 GB, free: 92.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/1.012, allocations: 54.31 kB / 0.6938 GB, free: 92.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/1.015, allocations: 1.294 MB / 0.6951 GB, free: 91.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/1.015, allocations: 0.7923 MB / 0.6959 GB, free: 90.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/1.015, allocations: 113.7 kB / 0.696 GB, free: 90.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/1.015, allocations: 87.41 kB / 0.696 GB, free: 90.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/1.015, allocations: 0 / 0.696 GB, free: 90.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07063/1.086, allocations: 55.09 MB / 0.7498 GB, free: 35.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.14, allocations: 8.812 kB / 0.7498 GB, free: 35.08 MB / 494.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.527337143023033] Failed to read output from testmodel.py, exit status != 0: 13.309130847046617 13.327919265 12.965297736 Calling exit ...