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.00126/0.00126, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0013/0.0013, allocations: 166.3 kB / 22.45 MB, free: 2.109 MB / 18.57 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 1.04/1.04, allocations: 177.2 MB / 202.8 MB, free: 5.758 MB / 186.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.04509/0.04509, allocations: 11.38 MB / 270.6 MB, free: 2.59 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 3.496e-06/3.496e-06, allocations: 0 / 397.6 MB, free: 472 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.575e-05, allocations: 5.375 kB / 397.6 MB, free: 468 kB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.SinglePhase_setState_b_Water): time 0.01315/0.01317, allocations: 12.15 MB / 409.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.02774, allocations: 15.63 MB / 425.4 MB, free: 4.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.02793, allocations: 0 / 425.4 MB, free: 4.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.02818, allocations: 43.67 kB / 425.5 MB, free: 4.527 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.02833, allocations: 75.34 kB / 425.5 MB, free: 4.453 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01718/0.0455, allocations: 6.79 MB / 432.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.04582, allocations: 178.8 kB / 432.5 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.04589, allocations: 5.688 kB / 432.5 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.04614, allocations: 95.7 kB / 432.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.71e-05/0.04624, allocations: 51.89 kB / 432.6 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.04626, allocations: 8 kB / 432.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01586/0.06212, allocations: 10.34 MB / 443 MB, free: 2.973 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.06216, allocations: 23.86 kB / 443 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.06225, allocations: 43.92 kB / 443.1 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2768/0.3391, allocations: 7.792 MB / 450.8 MB, free: 54.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3391, allocations: 0 / 450.8 MB, free: 54.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3391, allocations: 1.781 kB / 450.8 MB, free: 54.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3391, allocations: 2.5 kB / 450.9 MB, free: 54.79 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.003925/0.343, allocations: 1.311 MB / 452.2 MB, free: 54.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.3431, allocations: 8.469 kB / 452.2 MB, free: 54.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.3431, allocations: 47.64 kB / 452.2 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.3432, allocations: 27.11 kB / 452.2 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3435, allocations: 169.8 kB / 452.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3435, allocations: 10 kB / 452.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.3435, allocations: 9.375 kB / 452.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.3441, allocations: 318.1 kB / 452.7 MB, free: 53.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3442, allocations: 6.938 kB / 452.7 MB, free: 53.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3442, allocations: 3.562 kB / 452.7 MB, free: 53.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3442, allocations: 3.031 kB / 452.8 MB, free: 53.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.3449, allocations: 312.2 kB / 453.1 MB, free: 53.81 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.0006686/0.3456, allocations: 0.8137 MB / 453.9 MB, free: 53.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.3461, allocations: 300.5 kB / 454.2 MB, free: 53.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3462, allocations: 81.08 kB / 454.2 MB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.221/0.5672, allocations: 122.7 MB / 0.5634 GB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.5673, allocations: 34.56 kB / 0.5634 GB, free: 2.609 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 3.337e-06/0.5673, allocations: 4 kB / 0.5634 GB, free: 2.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.001382/0.5687, allocations: 491.8 kB / 0.5639 GB, free: 2.129 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.5687, allocations: 110.8 kB / 0.564 GB, free: 1.996 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.5689, allocations: 154.4 kB / 0.5641 GB, free: 1.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.5689, allocations: 33.27 kB / 0.5642 GB, free: 1.805 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.569, allocations: 113 kB / 0.5643 GB, free: 1.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.569, allocations: 46.91 kB / 0.5643 GB, free: 1.648 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.5691, allocations: 41.66 kB / 0.5644 GB, free: 1.602 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5692, allocations: 322.8 kB / 0.5647 GB, free: 1.277 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.5693, allocations: 55.98 kB / 0.5647 GB, free: 1.223 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.5695, allocations: 106.8 kB / 0.5648 GB, free: 1.094 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.5698, allocations: 180.7 kB / 0.565 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5698, allocations: 4 kB / 0.565 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003291/0.5701, allocations: 208.6 kB / 0.5652 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.5701, allocations: 8 kB / 0.5652 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5701, allocations: 0 / 0.5652 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.5701, allocations: 4 kB / 0.5652 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.5703, allocations: 46.78 kB / 0.5653 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5703, allocations: 11.59 kB / 0.5653 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/0.5704, allocations: 25.02 kB / 0.5653 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.5704, allocations: 12.19 kB / 0.5653 GB, free: 0.6055 MB / 442.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.0001115/0.5705, allocations: 125.8 kB / 0.5654 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.5706, allocations: 15.91 kB / 0.5654 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009802/0.5715, allocations: 1.194 MB / 0.5666 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.5716, allocations: 17.06 kB / 0.5666 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5716, allocations: 7.938 kB / 0.5666 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.5716, allocations: 0 / 0.5666 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/0.5724, allocations: 0.5579 MB / 0.5672 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.5725, allocations: 7.938 kB / 0.5672 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.5725, allocations: 35.06 kB / 0.5672 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5725, allocations: 0 / 0.5672 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.5726, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5726, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5726, allocations: 3.938 kB / 0.5672 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.5732, allocations: 0.8748 MB / 0.5681 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.5733, allocations: 55.55 kB / 0.5681 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.5733, allocations: 8 kB / 0.5681 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.5734, allocations: 15.98 kB / 0.5682 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.5735, allocations: 19.91 kB / 0.5682 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.5735, allocations: 8 kB / 0.5682 GB, free: 13.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.2e-05/0.5736, allocations: 116.1 kB / 0.5683 GB, free: 13.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5736, allocations: 0 / 0.5683 GB, free: 13.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004518/0.5781, allocations: 1.458 MB / 0.5697 GB, free: 12.04 MB / 458.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.005421/0.5835, allocations: 3.155 MB / 0.5728 GB, free: 9.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.5839, allocations: 319.2 kB / 0.5731 GB, free: 8.723 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.5839, allocations: 0 / 0.5731 GB, free: 8.723 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.5842, allocations: 224.5 kB / 0.5733 GB, free: 8.504 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.5846, allocations: 52.84 kB / 0.5734 GB, free: 8.457 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.5884, allocations: 3.026 MB / 0.5763 GB, free: 5.328 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.5886, allocations: 190.2 kB / 0.5765 GB, free: 5.125 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.5887, allocations: 112.1 kB / 0.5766 GB, free: 5.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.5888, allocations: 96.47 kB / 0.5767 GB, free: 4.926 MB / 458.7 MB Notification: Performance of SimCode: time 1.153e-06/0.5888, allocations: 0 / 0.5767 GB, free: 4.926 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3809/0.9697, allocations: 56.1 MB / 0.6315 GB, free: 129.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.51, allocations: 6.875 kB / 0.6315 GB, free: 129.1 MB / 490.7 MB " [Timeout remaining time 647] (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: 15.450522658415139]