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.0007884/0.0007884, 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.0008309/0.0008309, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.8863/0.8863, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.02792/0.02792, allocations: 7.513 MB / 266.7 MB, free: 6.18 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.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.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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 391.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.951e-05, allocations: 2.281 kB / 391.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01099/0.01101, allocations: 12.14 MB / 403.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1939/0.2049, allocations: 15.61 MB / 419.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2051, allocations: 1.031 kB / 419.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.2052, allocations: 52.23 kB / 419.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.2053, allocations: 68.03 kB / 419.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01345/0.2188, allocations: 6.805 MB / 426.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.219, allocations: 180.2 kB / 426.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.219, allocations: 6.094 kB / 426.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.2192, allocations: 100.2 kB / 426.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.2193, allocations: 44.17 kB / 426.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.2193, allocations: 7.25 kB / 426.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/0.2317, allocations: 10.35 MB / 437.1 MB, free: 9.738 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.2317, allocations: 14.81 kB / 437.1 MB, free: 9.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.2318, allocations: 47.34 kB / 437.1 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007141/0.2389, allocations: 7.797 MB / 444.9 MB, free: 4.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2389, allocations: 4 kB / 444.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2389, allocations: 3.938 kB / 444.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2389, allocations: 0 / 444.9 MB, free: 4.5 MB / 330.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.001854/0.2408, allocations: 1.325 MB / 446.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2408, allocations: 8.625 kB / 446.3 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.2409, allocations: 46.73 kB / 446.3 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.241, allocations: 24.84 kB / 446.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.2412, allocations: 153.6 kB / 446.5 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.2412, allocations: 12.38 kB / 446.5 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2412, allocations: 12.38 kB / 446.5 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.2417, allocations: 321.8 kB / 446.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2417, allocations: 3.938 kB / 446.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2417, allocations: 8 kB / 446.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.2417, allocations: 0 / 446.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.2422, allocations: 315.6 kB / 447.1 MB, free: 2.203 MB / 330.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.0004782/0.2426, allocations: 0.8097 MB / 448 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.2431, allocations: 286 kB / 448.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.2432, allocations: 90.52 kB / 448.3 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2068/0.45, allocations: 122.7 MB / 0.5576 GB, free: 6.254 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.45, allocations: 38.56 kB / 0.5576 GB, free: 6.207 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 2.475e-06/0.45, allocations: 0 / 0.5576 GB, free: 6.207 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.001184/0.4512, allocations: 489 kB / 0.5581 GB, free: 5.723 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.4512, allocations: 111 kB / 0.5582 GB, free: 5.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.4514, allocations: 158.2 kB / 0.5584 GB, free: 5.426 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.4514, allocations: 37.64 kB / 0.5584 GB, free: 5.383 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.4514, allocations: 108 kB / 0.5585 GB, free: 5.273 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.4515, allocations: 46.39 kB / 0.5585 GB, free: 5.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.4515, allocations: 41.7 kB / 0.5586 GB, free: 5.184 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.4516, allocations: 318.8 kB / 0.5589 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.4517, allocations: 51.95 kB / 0.5589 GB, free: 4.812 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.4518, allocations: 121.6 kB / 0.5591 GB, free: 4.672 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.452, allocations: 174.7 kB / 0.5592 GB, free: 4.477 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.452, allocations: 4 kB / 0.5592 GB, free: 4.473 MB / 458.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002888/0.4523, allocations: 205.5 kB / 0.5594 GB, free: 4.266 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4524, allocations: 12.03 kB / 0.5594 GB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4524, allocations: 480 / 0.5594 GB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4524, allocations: 4 kB / 0.5594 GB, free: 4.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4525, allocations: 43.91 kB / 0.5595 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4525, allocations: 7.938 kB / 0.5595 GB, free: 4.199 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.4526, allocations: 31.86 kB / 0.5595 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.4526, allocations: 14.84 kB / 0.5595 GB, free: 4.156 MB / 458.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 7.941e-05/0.4527, allocations: 125.8 kB / 0.5597 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.4527, allocations: 11.95 kB / 0.5597 GB, free: 4.012 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.4538, allocations: 1.192 MB / 0.5608 GB, free: 2.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.4539, allocations: 19.97 kB / 0.5608 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4539, allocations: 5.25 kB / 0.5609 GB, free: 2.797 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4539, allocations: 3.984 kB / 0.5609 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.4543, allocations: 0.5575 MB / 0.5614 GB, free: 2.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4543, allocations: 4 kB / 0.5614 GB, free: 2.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.4544, allocations: 35.84 kB / 0.5614 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4544, allocations: 4 kB / 0.5614 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.4544, allocations: 4 kB / 0.5614 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4544, allocations: 4 kB / 0.5614 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4544, allocations: 3.938 kB / 0.5615 GB, free: 2.141 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.4549, allocations: 0.8771 MB / 0.5623 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.455, allocations: 63.48 kB / 0.5624 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.455, allocations: 4 kB / 0.5624 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4551, allocations: 19.92 kB / 0.5624 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.4552, allocations: 19.91 kB / 0.5624 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.4552, allocations: 8 kB / 0.5624 GB, free: 1.133 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.4552, allocations: 111.2 kB / 0.5625 GB, free: 1.023 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4552, allocations: 0 / 0.5625 GB, free: 1.023 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003297/0.4585, allocations: 1.454 MB / 0.5639 GB, free: 15.56 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.004427/0.463, allocations: 3.164 MB / 0.567 GB, free: 12.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006311/0.4636, allocations: 314.7 kB / 0.5673 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4636, allocations: 0 / 0.5673 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.4638, allocations: 216.8 kB / 0.5675 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.4642, allocations: 64.94 kB / 0.5676 GB, free: 11.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.4669, allocations: 3.015 MB / 0.5705 GB, free: 8.785 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.4671, allocations: 190.2 kB / 0.5707 GB, free: 8.582 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.4672, allocations: 108.4 kB / 0.5708 GB, free: 8.473 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.152e-05/0.4673, allocations: 96.47 kB / 0.5709 GB, free: 8.379 MB / 474.7 MB Notification: Performance of SimCode: time 8.01e-07/0.4673, allocations: 0 / 0.5709 GB, free: 8.379 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/0.6955, allocations: 56.11 MB / 0.6257 GB, free: 132.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.565/10.26, allocations: 13.94 kB / 0.6257 GB, free: 132.6 MB / 474.7 MB " [Timeout remaining time 650] (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: 12.269481347873807] Failed to read output from testmodel.py, exit status != 0: 10.377493011765182 10.384835949 10.144236628 Calling exit ...