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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 90] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 107.5 kB / 16.62 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 192.7 kB / 17.62 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 207.6 MB / 226 MB, free: 11.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05281/0.05281, allocations: 9.162 MB / 285.1 MB, free: 15.6 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 80.27 kB / 398.7 MB, free: 45.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08822/0.09036, allocations: 50.71 MB / 449.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01711/0.1075, allocations: 13.2 MB / 462.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0225/0.13, allocations: 17.8 MB / 480.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.1301, allocations: 0 / 480.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.1304, allocations: 63.64 kB / 480.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.1306, allocations: 63.41 kB / 480.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02148/0.1521, allocations: 6.709 MB / 487.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.1525, allocations: 163 kB / 487.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.1525, allocations: 17.11 kB / 487.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.1527, allocations: 63.72 kB / 487.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1529, allocations: 67.7 kB / 487.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1529, allocations: 4 kB / 487.6 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02276/0.1757, allocations: 10.84 MB / 498.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.1757, allocations: 15.91 kB / 498.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1758, allocations: 63.69 kB / 498.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.1897, allocations: 6.077 MB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1897, allocations: 0 / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1897, allocations: 0 / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1897, allocations: 0 / 0.4927 GB, free: 7.363 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.004277/0.194, allocations: 1.39 MB / 0.4941 GB, free: 5.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1941, allocations: 8.031 kB / 0.4941 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.1941, allocations: 42.75 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.1942, allocations: 16.84 kB / 0.4942 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1943, allocations: 193 kB / 0.4943 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1943, allocations: 8.375 kB / 0.4943 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.1944, allocations: 15.94 kB / 0.4944 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000988/0.1954, allocations: 318.4 kB / 0.4947 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1954, allocations: 7.938 kB / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1954, allocations: 8 kB / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1954, allocations: 4 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1965, allocations: 315.6 kB / 0.495 GB, free: 4.934 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.001069/0.1975, allocations: 1.044 MB / 0.496 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/0.1985, allocations: 291.5 kB / 0.4963 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.1987, allocations: 94.45 kB / 0.4964 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6059/0.8046, allocations: 184.3 MB / 0.6764 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.8047, allocations: 44.17 kB / 0.6764 GB, free: 13.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.355e-06/0.8047, allocations: 0 / 0.6764 GB, free: 13.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001996/0.8067, allocations: 493.1 kB / 0.6769 GB, free: 12.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.8067, allocations: 106.8 kB / 0.677 GB, free: 12.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.8069, allocations: 150.2 kB / 0.6772 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.8069, allocations: 29.7 kB / 0.6772 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.807, allocations: 117.9 kB / 0.6773 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.807, allocations: 49.45 kB / 0.6773 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.8071, allocations: 41.66 kB / 0.6774 GB, free: 12.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8073, allocations: 318.8 kB / 0.6777 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.8075, allocations: 55.94 kB / 0.6777 GB, free: 11.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.8077, allocations: 116.8 kB / 0.6779 GB, free: 11.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.8081, allocations: 173.5 kB / 0.678 GB, free: 11.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8081, allocations: 0 / 0.678 GB, free: 11.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005402/0.8087, allocations: 210.2 kB / 0.6782 GB, free: 11.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8087, allocations: 7.938 kB / 0.6782 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8087, allocations: 4 kB / 0.6782 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8087, allocations: 0 / 0.6782 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.8089, allocations: 52.86 kB / 0.6783 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.8089, allocations: 7.938 kB / 0.6783 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.8091, allocations: 26.33 kB / 0.6783 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.8091, allocations: 8 kB / 0.6783 GB, free: 11.16 MB / 494.1 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.0001196/0.8092, allocations: 125.8 kB / 0.6784 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.8093, allocations: 15.91 kB / 0.6785 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.8106, allocations: 1.133 MB / 0.6796 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.8106, allocations: 15.97 kB / 0.6796 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.8107, allocations: 7.938 kB / 0.6796 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8107, allocations: 2.719 kB / 0.6796 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.8114, allocations: 0.5804 MB / 0.6802 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8114, allocations: 0 / 0.6802 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.8115, allocations: 43.91 kB / 0.6802 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.8115, allocations: 4 kB / 0.6802 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.8115, allocations: 0 / 0.6802 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.8115, allocations: 4 kB / 0.6802 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8115, allocations: 3.938 kB / 0.6802 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.8125, allocations: 0.859 MB / 0.681 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8127, allocations: 137.9 kB / 0.6812 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.8127, allocations: 4 kB / 0.6812 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.8129, allocations: 19.05 kB / 0.6812 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.813, allocations: 15.92 kB / 0.6812 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.813, allocations: 11.98 kB / 0.6812 GB, free: 8.137 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.54e-05/0.8131, allocations: 115.8 kB / 0.6813 GB, free: 8.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8131, allocations: 0 / 0.6813 GB, free: 8.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003795/0.8168, allocations: 1.455 MB / 0.6828 GB, free: 6.574 MB / 494.1 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.007747/0.8246, allocations: 2.921 MB / 0.6856 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.8253, allocations: 306.8 kB / 0.6859 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8253, allocations: 0 / 0.6859 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.8257, allocations: 214.2 kB / 0.6861 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.8263, allocations: 61.86 kB / 0.6862 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.8293, allocations: 1.267 MB / 0.6874 GB, free: 1.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.8297, allocations: 0.7923 MB / 0.6882 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.8298, allocations: 108.9 kB / 0.6883 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.83, allocations: 87.41 kB / 0.6884 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.83, allocations: 4 kB / 0.6884 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2966/1.127, allocations: 55.1 MB / 0.7422 GB, free: 164.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.73, allocations: 6.953 kB / 0.7422 GB, free: 164.1 MB / 0.5137 GB (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.024 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 52.5]