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.001258/0.001258, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00144/0.00144, allocations: 216.9 kB / 22.25 MB, free: 4.855 MB / 14.72 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.04957/0.04957, allocations: 9.136 MB / 321.6 MB, free: 10.22 MB / 254.1 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 0.001996/0.001996, allocations: 59.91 kB / 446.5 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09629, allocations: 54.96 MB / 0.4897 GB, free: 9.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.0173/0.1136, allocations: 12.15 MB / 0.5016 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2184/0.332, allocations: 15.62 MB / 0.5168 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.3322, allocations: 2.812 kB / 0.5168 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.3324, allocations: 47.34 kB / 0.5169 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3325, allocations: 67.7 kB / 0.5169 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01597/0.3485, allocations: 6.715 MB / 0.5235 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.3488, allocations: 171.7 kB / 0.5237 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.3488, allocations: 11.17 kB / 0.5237 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.349, allocations: 70.52 kB / 0.5237 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3491, allocations: 58.88 kB / 0.5238 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3492, allocations: 6.469 kB / 0.5238 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02106/0.3702, allocations: 10.32 MB / 0.5339 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.3703, allocations: 17.03 kB / 0.5339 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.3705, allocations: 49.91 kB / 0.5339 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.3845, allocations: 6.081 MB / 0.5399 GB, free: 3.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3845, allocations: 4.984 kB / 0.5399 GB, free: 3.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3845, allocations: 0 / 0.5399 GB, free: 3.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3845, allocations: 0.9062 kB / 0.5399 GB, free: 3.277 MB / 382.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.005035/0.3895, allocations: 1.312 MB / 0.5412 GB, free: 2.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3896, allocations: 9.438 kB / 0.5412 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.3896, allocations: 53.48 kB / 0.5412 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3898, allocations: 26.83 kB / 0.5413 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.39, allocations: 165.3 kB / 0.5414 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3901, allocations: 9.656 kB / 0.5414 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.3901, allocations: 10.75 kB / 0.5414 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008611/0.3909, allocations: 323.8 kB / 0.5417 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.391, allocations: 1.188 kB / 0.5417 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.391, allocations: 9.578 kB / 0.5417 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.391, allocations: 2.938 kB / 0.5418 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008975/0.3919, allocations: 305.2 kB / 0.542 GB, free: 1.809 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.0006962/0.3926, allocations: 0.8178 MB / 0.5428 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.3933, allocations: 290.4 kB / 0.5431 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.3935, allocations: 79.14 kB / 0.5432 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4508/0.8443, allocations: 122.7 MB / 0.663 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.8444, allocations: 42.41 kB / 0.6631 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/0.8444, allocations: 0 / 0.6631 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.002027/0.8464, allocations: 493.1 kB / 0.6635 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.8465, allocations: 102.8 kB / 0.6636 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.8467, allocations: 154.9 kB / 0.6638 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.8467, allocations: 29.7 kB / 0.6638 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.8468, allocations: 117.4 kB / 0.6639 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.8468, allocations: 43.47 kB / 0.664 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.8469, allocations: 49.56 kB / 0.664 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.847, allocations: 323 kB / 0.6643 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.8472, allocations: 59.88 kB / 0.6644 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.8475, allocations: 114.8 kB / 0.6645 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.8479, allocations: 178.7 kB / 0.6647 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8479, allocations: 0 / 0.6647 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005616/0.8485, allocations: 209.3 kB / 0.6649 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.8485, allocations: 4 kB / 0.6649 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.8485, allocations: 8.406 kB / 0.6649 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.8485, allocations: 4 kB / 0.6649 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.8487, allocations: 43.91 kB / 0.6649 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.8488, allocations: 8.219 kB / 0.6649 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.8489, allocations: 27.86 kB / 0.6649 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.849, allocations: 15.94 kB / 0.665 GB, free: 8.574 MB / 0.4981 GB 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.000129/0.8491, allocations: 121.8 kB / 0.6651 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.8492, allocations: 13.45 kB / 0.6651 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.8505, allocations: 1.189 MB / 0.6662 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.8506, allocations: 19.97 kB / 0.6663 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8506, allocations: 3.375 kB / 0.6663 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.8506, allocations: 3.984 kB / 0.6663 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.8513, allocations: 0.5533 MB / 0.6668 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8513, allocations: 3.938 kB / 0.6668 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.8514, allocations: 39.91 kB / 0.6669 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.8514, allocations: 4 kB / 0.6669 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.8515, allocations: 7.938 kB / 0.6669 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.8515, allocations: 4 kB / 0.6669 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8515, allocations: 0 / 0.6669 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.8525, allocations: 0.8632 MB / 0.6677 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.8526, allocations: 63.48 kB / 0.6678 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.8526, allocations: 7.938 kB / 0.6678 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.8528, allocations: 19.98 kB / 0.6678 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.8529, allocations: 19.91 kB / 0.6678 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.8529, allocations: 4 kB / 0.6678 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.89e-05/0.853, allocations: 123.3 kB / 0.6679 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.853, allocations: 0 / 0.6679 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005234/0.8582, allocations: 1.45 MB / 0.6694 GB, free: 4 MB / 0.4981 GB 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.01036/0.8686, allocations: 2.959 MB / 0.6722 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007416/0.8693, allocations: 305.4 kB / 0.6725 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8693, allocations: 4.062 kB / 0.6725 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.8697, allocations: 224.8 kB / 0.6728 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.8704, allocations: 47.58 kB / 0.6728 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.8768, allocations: 3.028 MB / 0.6758 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.877, allocations: 186.2 kB / 0.6759 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.8772, allocations: 110.3 kB / 0.676 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.8773, allocations: 95.39 kB / 0.6761 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of SimCode: time 7.62e-07/0.8773, allocations: 0 / 0.6761 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2977/1.175, allocations: 55.8 MB / 0.7306 GB, free: 162 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.48, allocations: 3.844 kB / 0.7306 GB, free: 162 MB / 0.545 GB " [Timeout remaining time 644] (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: 18.204250789247453] Failed to read output from testmodel.py, exit status != 0: 15.6305334540084 15.652527622000001 15.264080741 Calling exit ...