Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Convergence.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.001322/0.001322, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001521/0.001521, allocations: 216.7 kB / 22.25 MB, free: 3.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.985/0.985, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04519/0.04519, allocations: 14.03 MB / 326.5 MB, free: 4.68 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Validation.Convergence.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Convergence_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Convergence_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 77.64 kB / 453.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1191, allocations: 55.94 MB / 0.4974 GB, free: 9.57 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water): time 0.01297/0.1321, allocations: 12.18 MB / 0.5093 GB, free: 13.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.1459, allocations: 15.62 MB / 0.5246 GB, free: 13.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.1461, allocations: 3.938 kB / 0.5246 GB, free: 13.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.1465, allocations: 43.67 kB / 0.5246 GB, free: 13.61 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.1466, allocations: 67.42 kB / 0.5247 GB, free: 13.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01678/0.1634, allocations: 6.71 MB / 0.5313 GB, free: 6.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.1637, allocations: 178.8 kB / 0.5314 GB, free: 6.664 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.1638, allocations: 9.688 kB / 0.5314 GB, free: 6.656 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.164, allocations: 67.77 kB / 0.5315 GB, free: 6.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.1641, allocations: 55.72 kB / 0.5316 GB, free: 6.535 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1641, allocations: 8 kB / 0.5316 GB, free: 6.527 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01683/0.1809, allocations: 10.33 MB / 0.5417 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.181, allocations: 19.91 kB / 0.5417 GB, free: 12.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1811, allocations: 59.73 kB / 0.5417 GB, free: 12.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.1975, allocations: 6.073 MB / 0.5477 GB, free: 6.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.1975, allocations: 4 kB / 0.5477 GB, free: 6.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1975, allocations: 0 / 0.5477 GB, free: 6.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1975, allocations: 0 / 0.5477 GB, free: 6.016 MB / 410.7 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.004627/0.2021, allocations: 1.315 MB / 0.5489 GB, free: 4.664 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.2022, allocations: 8.031 kB / 0.549 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.2022, allocations: 46.73 kB / 0.549 GB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.2024, allocations: 24.83 kB / 0.549 GB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.2028, allocations: 177.3 kB / 0.5492 GB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2028, allocations: 8.375 kB / 0.5492 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.2028, allocations: 11.94 kB / 0.5492 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.2035, allocations: 331.5 kB / 0.5495 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2035, allocations: 0 / 0.5495 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2035, allocations: 4 kB / 0.5495 GB, free: 4.012 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2035, allocations: 4 kB / 0.5495 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.2041, allocations: 307.6 kB / 0.5498 GB, free: 3.707 MB / 410.7 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.0009004/0.205, allocations: 0.8245 MB / 0.5506 GB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.2056, allocations: 283.6 kB / 0.5509 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.2058, allocations: 78.52 kB / 0.551 GB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4835/0.6893, allocations: 122.7 MB / 0.6708 GB, free: 9.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/0.6893, allocations: 38.88 kB / 0.6708 GB, free: 9.797 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 4.308e-06/0.6893, allocations: 0 / 0.6708 GB, free: 9.797 MB / 474.7 MB Notification: Performance of matching and sorting (n=12): time 0.001509/0.6908, allocations: 0.4901 MB / 0.6713 GB, free: 9.316 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.6909, allocations: 106.8 kB / 0.6714 GB, free: 9.188 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.6911, allocations: 151.4 kB / 0.6716 GB, free: 9.035 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.6911, allocations: 29.64 kB / 0.6716 GB, free: 9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.6912, allocations: 113.9 kB / 0.6717 GB, free: 8.895 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.6912, allocations: 46.41 kB / 0.6717 GB, free: 8.855 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.6913, allocations: 53 kB / 0.6718 GB, free: 8.801 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6914, allocations: 318.8 kB / 0.6721 GB, free: 8.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.6915, allocations: 57.44 kB / 0.6721 GB, free: 8.426 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.6917, allocations: 110.9 kB / 0.6723 GB, free: 8.297 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.6919, allocations: 174.6 kB / 0.6724 GB, free: 8.105 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.6919, allocations: 4 kB / 0.6724 GB, free: 8.102 MB / 474.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000381/0.6923, allocations: 213.2 kB / 0.6726 GB, free: 7.887 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.6923, allocations: 8 kB / 0.6726 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6923, allocations: 0 / 0.6726 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.6924, allocations: 4 kB / 0.6726 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.6925, allocations: 48.17 kB / 0.6727 GB, free: 7.828 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.6926, allocations: 8 kB / 0.6727 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.6927, allocations: 19.94 kB / 0.6727 GB, free: 7.801 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.6927, allocations: 15.92 kB / 0.6727 GB, free: 7.785 MB / 474.7 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.0001284/0.6928, allocations: 121.8 kB / 0.6728 GB, free: 7.656 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.6929, allocations: 23.78 kB / 0.6729 GB, free: 7.637 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.694, allocations: 1.185 MB / 0.674 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.694, allocations: 23.91 kB / 0.674 GB, free: 6.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.694, allocations: 3.844 kB / 0.674 GB, free: 6.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.694, allocations: 0.875 kB / 0.674 GB, free: 6.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.6947, allocations: 0.5539 MB / 0.6746 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6947, allocations: 4 kB / 0.6746 GB, free: 5.832 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.103e-05/0.6948, allocations: 39.89 kB / 0.6746 GB, free: 5.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6948, allocations: 8 kB / 0.6746 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.6948, allocations: 0 / 0.6746 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.6948, allocations: 4.875 kB / 0.6746 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6948, allocations: 0 / 0.6746 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/0.6956, allocations: 0.8747 MB / 0.6755 GB, free: 4.887 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.6956, allocations: 59.5 kB / 0.6756 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.6957, allocations: 4 kB / 0.6756 GB, free: 4.824 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.6958, allocations: 23.97 kB / 0.6756 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.6959, allocations: 15.97 kB / 0.6756 GB, free: 4.785 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.6959, allocations: 8.812 kB / 0.6756 GB, free: 4.777 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.696, allocations: 108.1 kB / 0.6757 GB, free: 4.672 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.696, allocations: 0 / 0.6757 GB, free: 4.672 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004501/0.7005, allocations: 1.458 MB / 0.6771 GB, free: 3.211 MB / 474.7 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.006682/0.7072, allocations: 2.954 MB / 0.68 GB, free: 400 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.7077, allocations: 303.1 kB / 0.6803 GB, free: 100 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7077, allocations: 8.062 kB / 0.6803 GB, free: 92 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.7079, allocations: 224.8 kB / 0.6805 GB, free: 15.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.7083, allocations: 47.14 kB / 0.6806 GB, free: 15.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.7122, allocations: 3.03 MB / 0.6835 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.7123, allocations: 186.2 kB / 0.6837 GB, free: 12.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.7124, allocations: 116.2 kB / 0.6838 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.7126, allocations: 87.41 kB / 0.6839 GB, free: 12.27 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7126, allocations: 0 / 0.6839 GB, free: 12.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1708/0.8834, allocations: 55.81 MB / 0.7384 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/11.04, allocations: 7.438 kB / 0.7384 GB, free: 4.574 MB / 0.5261 GB " [Timeout remaining time 649] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Convergence_SinglePhase_setState_b_Water_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Convergence_SinglePhase_setState_b_Water.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water_fmpy_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_Validation_Convergence_SinglePhase_setState_b_Water.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.897541414014995]