Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.001455/0.001455, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.0016/0.0016, allocations: 215 kB / 20.13 MB, free: 2.949 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.427/1.427, allocations: 207.6 MB / 230.5 MB, free: 4.059 MB / 174.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.05173/0.05173, allocations: 9.141 MB / 291.5 MB, free: 7.176 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.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",fmuType="cs",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.002356/0.002356, allocations: 75.89 kB / 406.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2515, allocations: 50.71 MB / 457.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02188/0.2734, allocations: 19.26 MB / 476.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.2837, allocations: 9.405 MB / 485.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.284, allocations: 0 / 485.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.2852, allocations: 0.4902 MB / 486.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007236/0.2859, allocations: 274.4 kB / 486.7 MB, free: 10.4 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.2985, allocations: 4.756 MB / 491.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00067/0.2992, allocations: 405.8 kB / 491.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.672e-05/0.2993, allocations: 12.41 kB / 491.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.2997, allocations: 179.3 kB / 492 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2999, allocations: 103.5 kB / 492.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2999, allocations: 4 kB / 492.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01339/0.3133, allocations: 7.533 MB / 499.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.3133, allocations: 15.88 kB / 499.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.3135, allocations: 115.4 kB / 499.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007453/0.321, allocations: 3.273 MB / 0.4913 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.321, allocations: 3.938 kB / 0.4913 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.321, allocations: 0 / 0.4913 GB, free: 9.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.321, allocations: 3.938 kB / 0.4913 GB, free: 9.977 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00178/0.3228, allocations: 0.8349 MB / 0.4921 GB, free: 9.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3228, allocations: 8.031 kB / 0.4921 GB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.729e-05/0.3228, allocations: 4 kB / 0.4921 GB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.3229, allocations: 54.53 kB / 0.4922 GB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.3232, allocations: 63.75 kB / 0.4922 GB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3234, allocations: 194.7 kB / 0.4924 GB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.3234, allocations: 8 kB / 0.4924 GB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3235, allocations: 4 kB / 0.4924 GB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.3239, allocations: 237.5 kB / 0.4927 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3239, allocations: 0 / 0.4927 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3239, allocations: 4 kB / 0.4927 GB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.3239, allocations: 7.984 kB / 0.4927 GB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.3244, allocations: 216.5 kB / 0.4929 GB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.3248, allocations: 356.2 kB / 0.4932 GB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3258, allocations: 291.1 kB / 0.4935 GB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.3261, allocations: 198 kB / 0.4937 GB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05351/0.3796, allocations: 28.59 MB / 0.5216 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.3797, allocations: 30.56 kB / 0.5216 GB, free: 5.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.284e-06/0.3797, allocations: 0 / 0.5216 GB, free: 5.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.001316/0.381, allocations: 0.6934 MB / 0.5223 GB, free: 5.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.3811, allocations: 55.34 kB / 0.5224 GB, free: 5.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3812, allocations: 105.8 kB / 0.5225 GB, free: 5.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3812, allocations: 33.7 kB / 0.5225 GB, free: 5.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.3813, allocations: 81.45 kB / 0.5226 GB, free: 4.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.3815, allocations: 237.8 kB / 0.5228 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.3816, allocations: 69.62 kB / 0.5229 GB, free: 4.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3817, allocations: 334.8 kB / 0.5232 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.3821, allocations: 168.5 kB / 0.5233 GB, free: 4.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.3824, allocations: 175.3 kB / 0.5235 GB, free: 3.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006482/0.383, allocations: 432.7 kB / 0.5239 GB, free: 3.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.383, allocations: 7.938 kB / 0.5239 GB, free: 3.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007998/0.3838, allocations: 474.9 kB / 0.5244 GB, free: 3.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3838, allocations: 8 kB / 0.5244 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3838, allocations: 7.969 kB / 0.5244 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3839, allocations: 0 / 0.5244 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.384, allocations: 23.92 kB / 0.5244 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.384, allocations: 4 kB / 0.5244 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.3842, allocations: 39.72 kB / 0.5245 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3842, allocations: 3.984 kB / 0.5245 GB, free: 2.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001555/0.3844, allocations: 139.1 kB / 0.5246 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.3844, allocations: 23.81 kB / 0.5246 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.3855, allocations: 0.7718 MB / 0.5254 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.3856, allocations: 11.92 kB / 0.5254 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3856, allocations: 0 / 0.5254 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3856, allocations: 0 / 0.5254 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.386, allocations: 432.3 kB / 0.5258 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.386, allocations: 4 kB / 0.5258 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3862, allocations: 31.91 kB / 0.5258 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3862, allocations: 3.938 kB / 0.5258 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3862, allocations: 0 / 0.5258 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3862, allocations: 11.94 kB / 0.5258 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3862, allocations: 0 / 0.5258 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.387, allocations: 0.5078 MB / 0.5263 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3871, allocations: 120.8 kB / 0.5265 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.3871, allocations: 4 kB / 0.5265 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3872, allocations: 19.92 kB / 0.5265 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.3873, allocations: 7.984 kB / 0.5265 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3873, allocations: 8 kB / 0.5265 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.004e-05/0.3873, allocations: 83.27 kB / 0.5266 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3873, allocations: 0 / 0.5266 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002125/0.3895, allocations: 0.7206 MB / 0.5273 GB, free: 15.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004104/0.3936, allocations: 2.007 MB / 0.5292 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.3943, allocations: 389 kB / 0.5296 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3943, allocations: 0 / 0.5296 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.3947, allocations: 200.5 kB / 0.5298 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3958, allocations: 231 kB / 0.53 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.4002, allocations: 3.008 MB / 0.533 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.4006, allocations: 0.7571 MB / 0.5337 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003481/0.4009, allocations: 196.1 kB / 0.5339 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.4011, allocations: 63.41 kB / 0.5339 GB, free: 8.988 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4011, allocations: 0 / 0.5339 GB, free: 8.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05939/0.4605, allocations: 29.73 MB / 0.563 GB, free: 11.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.292/9.753, allocations: 8.047 kB / 0.563 GB, free: 11.25 MB / 446.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.142083504004404] Failed to read output from testmodel.py, exit status != 0: 9.891455048986245 9.905012607 9.58096171 Calling exit ...