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.0007819/0.0007819, 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.0008649/0.0008649, allocations: 169.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.9235/0.9235, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.02921/0.02921, allocations: 7.517 MB / 266.7 MB, free: 6.191 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 3.577e-06/3.577e-06, allocations: 0 / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.733e-05, allocations: 2.281 kB / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01235/0.01238, allocations: 12.15 MB / 403.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.02513, allocations: 15.63 MB / 419.5 MB, free: 10.49 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.0253, allocations: 3.938 kB / 419.5 MB, free: 10.49 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.02551, allocations: 43.73 kB / 419.5 MB, free: 10.45 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.02565, allocations: 75.33 kB / 419.6 MB, free: 10.37 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01437/0.04002, allocations: 6.793 MB / 426.4 MB, free: 3.578 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.04027, allocations: 178.8 kB / 426.6 MB, free: 3.402 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.439e-05/0.04034, allocations: 13.67 kB / 426.6 MB, free: 3.387 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.04054, allocations: 91.72 kB / 426.7 MB, free: 3.297 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.04062, allocations: 47.84 kB / 426.7 MB, free: 3.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.04064, allocations: 8 kB / 426.7 MB, free: 3.242 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01533/0.05597, allocations: 10.34 MB / 437.1 MB, free: 8.891 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.05602, allocations: 15.92 kB / 437.1 MB, free: 8.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.05614, allocations: 55.84 kB / 437.2 MB, free: 8.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.07269, allocations: 7.796 MB / 444.9 MB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.0727, allocations: 0 / 444.9 MB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.0727, allocations: 0 / 444.9 MB, free: 1.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.0727, allocations: 0 / 444.9 MB, free: 1.008 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.1846/0.2573, allocations: 1.312 MB / 446.3 MB, free: 89.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2573, allocations: 9.75 kB / 446.3 MB, free: 89.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.2573, allocations: 42.7 kB / 446.3 MB, free: 89.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2575, allocations: 27.62 kB / 446.3 MB, free: 89.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.2577, allocations: 163.1 kB / 446.5 MB, free: 89.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2577, allocations: 11.44 kB / 446.5 MB, free: 89.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2577, allocations: 14.92 kB / 446.5 MB, free: 89.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.2583, allocations: 314.7 kB / 446.8 MB, free: 88.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2583, allocations: 1.75 kB / 446.8 MB, free: 88.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2583, allocations: 12.25 kB / 446.8 MB, free: 88.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2583, allocations: 7.125 kB / 446.9 MB, free: 88.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.2588, allocations: 311.7 kB / 447.2 MB, free: 88.92 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.0005825/0.2594, allocations: 0.8103 MB / 448 MB, free: 88.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.2599, allocations: 290.7 kB / 448.2 MB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.26, allocations: 90.14 kB / 448.3 MB, free: 88.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1956/0.4556, allocations: 122.7 MB / 0.5576 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.4557, allocations: 42.38 kB / 0.5577 GB, free: 11.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.575e-06/0.4557, allocations: 4 kB / 0.5577 GB, free: 11.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001248/0.4569, allocations: 497.2 kB / 0.5581 GB, free: 11.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.457, allocations: 106.8 kB / 0.5582 GB, free: 11.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.4571, allocations: 150.9 kB / 0.5584 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.4571, allocations: 29.7 kB / 0.5584 GB, free: 11.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.4572, allocations: 108 kB / 0.5585 GB, free: 11.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.4572, allocations: 39.64 kB / 0.5585 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.4572, allocations: 41.66 kB / 0.5586 GB, free: 10.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.4573, allocations: 326.8 kB / 0.5589 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.4574, allocations: 63.25 kB / 0.559 GB, free: 10.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4576, allocations: 110 kB / 0.5591 GB, free: 10.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.4578, allocations: 182.7 kB / 0.5592 GB, free: 10.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4578, allocations: 4 kB / 0.5592 GB, free: 10.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003048/0.4581, allocations: 205.3 kB / 0.5594 GB, free: 10.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4581, allocations: 8 kB / 0.5594 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4581, allocations: 0 / 0.5594 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4582, allocations: 4 kB / 0.5594 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4583, allocations: 47.95 kB / 0.5595 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4583, allocations: 4 kB / 0.5595 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.464e-05/0.4584, allocations: 32 kB / 0.5595 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.4584, allocations: 15.88 kB / 0.5595 GB, free: 9.934 MB / 426.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 8.461e-05/0.4585, allocations: 125.8 kB / 0.5597 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.4585, allocations: 15.91 kB / 0.5597 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/0.4594, allocations: 1.191 MB / 0.5608 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.4594, allocations: 23.97 kB / 0.5609 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4594, allocations: 0 / 0.5609 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4594, allocations: 0 / 0.5609 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.46, allocations: 0.561 MB / 0.5614 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4601, allocations: 9.781 kB / 0.5614 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.4601, allocations: 27.97 kB / 0.5614 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4601, allocations: 4 kB / 0.5614 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4602, allocations: 7.984 kB / 0.5615 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4602, allocations: 4 kB / 0.5615 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4602, allocations: 0 / 0.5615 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.4608, allocations: 0.8796 MB / 0.5623 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.4608, allocations: 55.5 kB / 0.5624 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4608, allocations: 8 kB / 0.5624 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.461, allocations: 19.97 kB / 0.5624 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.461, allocations: 7.984 kB / 0.5624 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.461, allocations: 19.92 kB / 0.5624 GB, free: 6.922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.4611, allocations: 107.3 kB / 0.5625 GB, free: 6.816 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4611, allocations: 0 / 0.5625 GB, free: 6.816 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003237/0.4643, allocations: 1.454 MB / 0.5639 GB, free: 5.359 MB / 426.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.006277/0.4706, allocations: 3.178 MB / 0.5671 GB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004738/0.4711, allocations: 306.7 kB / 0.5673 GB, free: 2.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4711, allocations: 0 / 0.5673 GB, free: 2.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.4713, allocations: 225.3 kB / 0.5676 GB, free: 1.797 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.4717, allocations: 45.05 kB / 0.5676 GB, free: 1.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.4752, allocations: 3.017 MB / 0.5705 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.4754, allocations: 190.2 kB / 0.5707 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.4755, allocations: 116.3 kB / 0.5708 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.53e-05/0.4756, allocations: 96.47 kB / 0.5709 GB, free: 14.2 MB / 442.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4756, allocations: 0 / 0.5709 GB, free: 14.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2275/0.7031, allocations: 55.91 MB / 0.6255 GB, free: 112.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.168/9.871, allocations: 2.578 kB / 0.6255 GB, free: 112.9 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: 11.99563017487526] Failed to read output from testmodel.py, exit status != 0: 9.990813111886382 10.000956937 9.925959935 Calling exit ...