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.001242/0.001242, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001375/0.001375, allocations: 215.4 kB / 23.04 MB, free: 5.074 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.347/1.347, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.04973/0.04973, allocations: 9.151 MB / 295.2 MB, free: 12.71 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.00213/0.00213, allocations: 68 kB / 411.8 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06831/0.07044, allocations: 50.76 MB / 462.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02167/0.09211, allocations: 19.3 MB / 481.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009675/0.1018, allocations: 9.404 MB / 491.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.102, allocations: 4 kB / 491.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.103, allocations: 0.4901 MB / 491.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000595/0.1036, allocations: 278.4 kB / 492.1 MB, free: 15.14 MB / 366.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.01119/0.1148, allocations: 4.816 MB / 496.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000554/0.1154, allocations: 405.8 kB / 497.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.1154, allocations: 12.58 kB / 497.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.1158, allocations: 175.2 kB / 497.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1159, allocations: 107.5 kB / 497.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1159, allocations: 8 kB / 497.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/0.1294, allocations: 7.841 MB / 0.4936 GB, free: 1.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.1295, allocations: 19.86 kB / 0.4936 GB, free: 1.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.1297, allocations: 115.4 kB / 0.4937 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007491/0.1372, allocations: 3.277 MB / 0.4969 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1372, allocations: 0 / 0.4969 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1372, allocations: 4 kB / 0.4969 GB, free: 14.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1372, allocations: 0 / 0.4969 GB, free: 14.35 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001551/0.1388, allocations: 0.7596 MB / 0.4977 GB, free: 13.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1388, allocations: 19.92 kB / 0.4977 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.1388, allocations: 4 kB / 0.4977 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.1389, allocations: 58.53 kB / 0.4977 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.1392, allocations: 63.75 kB / 0.4978 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1394, allocations: 144.8 kB / 0.4979 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1394, allocations: 0 / 0.4979 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1394, allocations: 4 kB / 0.4979 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.1398, allocations: 249.5 kB / 0.4982 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1398, allocations: 0 / 0.4982 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1398, allocations: 4 kB / 0.4982 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.1398, allocations: 7.984 kB / 0.4982 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.1403, allocations: 232.5 kB / 0.4984 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1406, allocations: 327.3 kB / 0.4987 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009592/0.1416, allocations: 307.1 kB / 0.499 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.1419, allocations: 218 kB / 0.4992 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0402/0.1821, allocations: 9.21 MB / 0.5082 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1822, allocations: 34.56 kB / 0.5082 GB, free: 2.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/0.1822, allocations: 0 / 0.5082 GB, free: 2.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.001282/0.1834, allocations: 0.7208 MB / 0.5089 GB, free: 1.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.1835, allocations: 63.34 kB / 0.509 GB, free: 1.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.1836, allocations: 117.8 kB / 0.5091 GB, free: 1.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1836, allocations: 25.7 kB / 0.5091 GB, free: 1.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.1837, allocations: 89.44 kB / 0.5092 GB, free: 1.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.1839, allocations: 233.8 kB / 0.5095 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.184, allocations: 69.62 kB / 0.5095 GB, free: 1.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1841, allocations: 334.8 kB / 0.5098 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.1844, allocations: 184.5 kB / 0.51 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.1847, allocations: 187.2 kB / 0.5102 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.1853, allocations: 456.7 kB / 0.5106 GB, free: 96 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1853, allocations: 4 kB / 0.5106 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007593/0.186, allocations: 0.4908 MB / 0.5111 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1861, allocations: 5.406 kB / 0.5111 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1861, allocations: 0 / 0.5111 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1861, allocations: 4 kB / 0.5111 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1862, allocations: 31.91 kB / 0.5111 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1862, allocations: 0 / 0.5111 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1864, allocations: 35.72 kB / 0.5112 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.1864, allocations: 8 kB / 0.5112 GB, free: 15.5 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.0001309/0.1865, allocations: 129.8 kB / 0.5113 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.1866, allocations: 23.81 kB / 0.5113 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.1877, allocations: 0.8144 MB / 0.5121 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.1877, allocations: 27.89 kB / 0.5122 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1877, allocations: 4 kB / 0.5122 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1877, allocations: 0 / 0.5122 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.1881, allocations: 419.3 kB / 0.5126 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1881, allocations: 4 kB / 0.5126 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.1883, allocations: 23.97 kB / 0.5126 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1883, allocations: 0 / 0.5126 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1883, allocations: 4 kB / 0.5126 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.1883, allocations: 11.88 kB / 0.5126 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1883, allocations: 0 / 0.5126 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/0.1891, allocations: 0.5388 MB / 0.5131 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.1891, allocations: 43.67 kB / 0.5132 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.1892, allocations: 4 kB / 0.5132 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1893, allocations: 11.92 kB / 0.5132 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.1893, allocations: 15.97 kB / 0.5132 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1894, allocations: 11.94 kB / 0.5132 GB, free: 13.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.344e-05/0.1894, allocations: 87.58 kB / 0.5133 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1894, allocations: 0 / 0.5133 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002098/0.1915, allocations: 0.7167 MB / 0.514 GB, free: 12.55 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: 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.004486/0.196, allocations: 2.022 MB / 0.516 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007598/0.1968, allocations: 420.9 kB / 0.5164 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1968, allocations: 0 / 0.5164 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.1971, allocations: 208.5 kB / 0.5166 GB, free: 9.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.1983, allocations: 248.6 kB / 0.5168 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.2029, allocations: 3.094 MB / 0.5198 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.2033, allocations: 0.7494 MB / 0.5206 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003421/0.2036, allocations: 196 kB / 0.5208 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2037, allocations: 67.41 kB / 0.5208 GB, free: 5.426 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2037, allocations: 0 / 0.5208 GB, free: 5.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2367/0.4404, allocations: 30.25 MB / 0.5504 GB, free: 57.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.5, allocations: 7.562 kB / 0.5504 GB, free: 57.54 MB / 398.1 MB " [Timeout remaining time 647] (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: 15.315543979988433] Failed to read output from testmodel.py, exit status != 0: 12.671707666944712 12.681482803 12.542040843 Calling exit ...