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.001421/0.001421, allocations: 109.2 kB / 16.45 MB, free: 6.02 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.001595/0.001595, allocations: 207.3 kB / 19.43 MB, free: 3.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 207.6 MB / 229.8 MB, free: 11.4 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05262/0.05262, allocations: 9.158 MB / 290.8 MB, free: 13.88 MB / 238.1 MB " [Timeout remaining time 180] 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 76.09 kB / 405.9 MB, free: 47.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07723/0.07946, allocations: 50.72 MB / 456.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01814/0.0976, allocations: 13.2 MB / 469.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.1203, allocations: 17.81 MB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1205, allocations: 4 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.1207, allocations: 59.64 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1209, allocations: 59.47 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01978/0.1406, allocations: 6.71 MB / 494.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.141, allocations: 163 kB / 494.6 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.141, allocations: 13.11 kB / 494.6 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1412, allocations: 75.7 kB / 494.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1413, allocations: 59.72 kB / 494.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1414, allocations: 4 kB / 494.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02337/0.1647, allocations: 10.83 MB / 0.4937 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.1648, allocations: 15.94 kB / 0.4937 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1649, allocations: 67.66 kB / 0.4938 GB, free: 13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01906/0.184, allocations: 6.077 MB / 0.4997 GB, free: 6.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.184, allocations: 0 / 0.4997 GB, free: 6.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.184, allocations: 0 / 0.4997 GB, free: 6.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.184, allocations: 0 / 0.4997 GB, free: 6.91 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.005495/0.1895, allocations: 1.39 MB / 0.5011 GB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.1895, allocations: 12.03 kB / 0.5011 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.482e-05/0.1896, allocations: 42.75 kB / 0.5011 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.1897, allocations: 20.84 kB / 0.5012 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1899, allocations: 184.2 kB / 0.5013 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1899, allocations: 8.375 kB / 0.5013 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1899, allocations: 11.94 kB / 0.5013 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.191, allocations: 322.5 kB / 0.5017 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.191, allocations: 3.938 kB / 0.5017 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.191, allocations: 4 kB / 0.5017 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.191, allocations: 4 kB / 0.5017 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1921, allocations: 308.5 kB / 0.502 GB, free: 4.492 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.00123/0.1933, allocations: 1.052 MB / 0.503 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009834/0.1943, allocations: 291.6 kB / 0.5033 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.1946, allocations: 86.45 kB / 0.5033 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6581/0.8527, allocations: 184.4 MB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.8527, allocations: 45.88 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.525e-06/0.8527, allocations: 0 / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.002132/0.8549, allocations: 491.1 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.855, allocations: 106.8 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.8551, allocations: 154.1 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.8551, allocations: 26.83 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.8552, allocations: 117 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.8553, allocations: 49.84 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.8553, allocations: 37.66 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8555, allocations: 326.8 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.8557, allocations: 55.95 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.856, allocations: 107.9 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.8564, allocations: 185.6 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8564, allocations: 0 / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005927/0.857, allocations: 207.3 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.8571, allocations: 4 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.8571, allocations: 4 kB / 0.6852 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.8571, allocations: 7.984 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.8573, allocations: 47.91 kB / 0.6853 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.8574, allocations: 7.938 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.8575, allocations: 22.19 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.8575, allocations: 16.17 kB / 0.6853 GB, free: 11.14 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.0001248/0.8577, allocations: 128 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.203e-05/0.8577, allocations: 11.91 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.8591, allocations: 1.135 MB / 0.6865 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.8591, allocations: 19.97 kB / 0.6866 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.8591, allocations: 6.062 kB / 0.6866 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.8591, allocations: 0 / 0.6866 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.8598, allocations: 0.5798 MB / 0.6871 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.8598, allocations: 4 kB / 0.6871 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.86, allocations: 31.91 kB / 0.6872 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.86, allocations: 4 kB / 0.6872 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.86, allocations: 4 kB / 0.6872 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.86, allocations: 4 kB / 0.6872 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.86, allocations: 7.938 kB / 0.6872 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.8611, allocations: 0.8513 MB / 0.688 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.8612, allocations: 151.5 kB / 0.6882 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.8612, allocations: 4 kB / 0.6882 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.8615, allocations: 11.98 kB / 0.6882 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.8616, allocations: 23.91 kB / 0.6882 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.8616, allocations: 4 kB / 0.6882 GB, free: 8.121 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.888e-05/0.8617, allocations: 119.9 kB / 0.6883 GB, free: 8.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8617, allocations: 0 / 0.6883 GB, free: 8.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003986/0.8657, allocations: 1.44 MB / 0.6897 GB, free: 6.562 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.008443/0.8741, allocations: 2.934 MB / 0.6926 GB, free: 3.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008085/0.8749, allocations: 299.1 kB / 0.6929 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8749, allocations: 4.062 kB / 0.6929 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.8753, allocations: 213.5 kB / 0.6931 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.876, allocations: 48.17 kB / 0.6931 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.8794, allocations: 1.285 MB / 0.6944 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.8799, allocations: 0.7884 MB / 0.6952 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.8801, allocations: 113.3 kB / 0.6953 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.8802, allocations: 95.39 kB / 0.6954 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.8802, allocations: 0 / 0.6954 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3123/1.193, allocations: 55.05 MB / 0.7491 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.98, allocations: 3.781 kB / 0.7491 GB, free: 164.8 MB / 0.5137 GB " [Timeout remaining time 646] (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: 16.908893977757543] Failed to read output from testmodel.py, exit status != 0: 14.104035910218954 14.122894657 13.934928369 Calling exit ...