Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.493/1.493, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.05148/0.05148, allocations: 9.153 MB / 290.8 MB, free: 13.93 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.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.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002132/0.002132, allocations: 71.98 kB / 405.8 MB, free: 47.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06956/0.07169, allocations: 50.72 MB / 456.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02318/0.09486, allocations: 18.15 MB / 474.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.1068, allocations: 11.1 MB / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.1069, allocations: 0 / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.47e-05/0.107, allocations: 15.84 kB / 485.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008996/0.1079, allocations: 366.2 kB / 486.1 MB, free: 0.4961 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.01391/0.1218, allocations: 5.528 MB / 491.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.122, allocations: 135.4 kB / 491.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.1221, allocations: 7.984 kB / 491.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.1223, allocations: 91.56 kB / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.1224, allocations: 55.77 kB / 492 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1225, allocations: 4 kB / 492 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/0.137, allocations: 8.238 MB / 0.4885 GB, free: 2.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.1371, allocations: 19.92 kB / 0.4885 GB, free: 2.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.983e-05/0.1371, allocations: 43.8 kB / 0.4885 GB, free: 2.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008704/0.1459, allocations: 3.398 MB / 0.4919 GB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1459, allocations: 0 / 0.4919 GB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1459, allocations: 0 / 0.4919 GB, free: 14.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1459, allocations: 4 kB / 0.4919 GB, free: 14.95 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001613/0.1475, allocations: 0.8269 MB / 0.4927 GB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1475, allocations: 12.03 kB / 0.4927 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.1476, allocations: 30.56 kB / 0.4927 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1477, allocations: 15.89 kB / 0.4927 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.1479, allocations: 187.8 kB / 0.4929 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1479, allocations: 4 kB / 0.4929 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1479, allocations: 8 kB / 0.4929 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.1483, allocations: 93.56 kB / 0.493 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1483, allocations: 0 / 0.493 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.1483, allocations: 11.98 kB / 0.493 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1483, allocations: 7.938 kB / 0.493 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.1487, allocations: 107.9 kB / 0.4931 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.1493, allocations: 316.7 kB / 0.4934 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1497, allocations: 102.5 kB / 0.4935 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.1499, allocations: 64.75 kB / 0.4936 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02546/0.1754, allocations: 15.92 MB / 0.5091 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.1754, allocations: 46.48 kB / 0.5092 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.875e-06/0.1754, allocations: 0 / 0.5092 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.00104/0.1764, allocations: 213.7 kB / 0.5094 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.1765, allocations: 59.39 kB / 0.5094 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1766, allocations: 133.5 kB / 0.5096 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1767, allocations: 33.7 kB / 0.5096 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.1767, allocations: 88.08 kB / 0.5097 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.1768, allocations: 35.69 kB / 0.5097 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.1768, allocations: 21.72 kB / 0.5097 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.177, allocations: 318.8 kB / 0.51 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.1772, allocations: 51.95 kB / 0.5101 GB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.1774, allocations: 47.95 kB / 0.5101 GB, free: 9.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.1777, allocations: 104.8 kB / 0.5102 GB, free: 9.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1777, allocations: 0 / 0.5102 GB, free: 9.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004487/0.1782, allocations: 158 kB / 0.5104 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1782, allocations: 4.094 kB / 0.5104 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1782, allocations: 3.938 kB / 0.5104 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1782, allocations: 4 kB / 0.5104 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.1784, allocations: 35.91 kB / 0.5104 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1784, allocations: 4 kB / 0.5104 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1785, allocations: 11.98 kB / 0.5104 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1785, allocations: 4 kB / 0.5105 GB, free: 8.852 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001036/0.1786, allocations: 113.8 kB / 0.5106 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.1786, allocations: 19.84 kB / 0.5106 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007759/0.1794, allocations: 394.8 kB / 0.511 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.1794, allocations: 3.984 kB / 0.511 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1794, allocations: 0 / 0.511 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1794, allocations: 3.938 kB / 0.511 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.1798, allocations: 285.8 kB / 0.5112 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1798, allocations: 0 / 0.5112 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.18, allocations: 31.91 kB / 0.5113 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.18, allocations: 0 / 0.5113 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.18, allocations: 8 kB / 0.5113 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.18, allocations: 0 / 0.5113 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.18, allocations: 0 / 0.5113 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.1806, allocations: 424.1 kB / 0.5117 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1807, allocations: 112.9 kB / 0.5118 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1807, allocations: 8 kB / 0.5118 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1809, allocations: 11.98 kB / 0.5118 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.1809, allocations: 19.92 kB / 0.5118 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.181, allocations: 4 kB / 0.5118 GB, free: 7.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.181, allocations: 107.2 kB / 0.5119 GB, free: 7.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.181, allocations: 0 / 0.5119 GB, free: 7.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001234/0.1823, allocations: 454.5 kB / 0.5124 GB, free: 6.797 MB / 398.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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002853/0.1851, allocations: 1.585 MB / 0.5139 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.1856, allocations: 195.8 kB / 0.5141 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1856, allocations: 0 / 0.5141 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.1859, allocations: 139.8 kB / 0.5142 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1863, allocations: 31.95 kB / 0.5143 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1874, allocations: 0.5873 MB / 0.5148 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1878, allocations: 0.7162 MB / 0.5155 GB, free: 3.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.517e-05/0.1879, allocations: 18.22 kB / 0.5156 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.188, allocations: 39.42 kB / 0.5156 GB, free: 3.402 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.188, allocations: 0 / 0.5156 GB, free: 3.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.2328, allocations: 16.36 MB / 0.5316 GB, free: 3.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.635/8.868, allocations: 4 kB / 0.5316 GB, free: 3.07 MB / 414.1 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.688518608920276] Failed to read output from testmodel.py, exit status != 0: 8.949493273161352 9.128907401 8.980400946 Calling exit ...