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.001401/0.001401, allocations: 113 kB / 18.94 MB, free: 2.934 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.001641/0.001641, allocations: 208.7 kB / 22.25 MB, free: 5.082 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.549/1.549, allocations: 207.6 MB / 233 MB, free: 10.01 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.05033/0.05033, allocations: 9.157 MB / 294.4 MB, free: 12.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.setSat,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_setSat",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.002238/0.002238, allocations: 72.91 kB / 411.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.09346, allocations: 50.75 MB / 461.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02585/0.1193, allocations: 19.31 MB / 481.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.1304, allocations: 9.404 MB / 490.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.1307, allocations: 0 / 490.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.132, allocations: 498 kB / 491 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008053/0.1328, allocations: 282.4 kB / 491.3 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.01421/0.147, allocations: 4.806 MB / 496.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.1476, allocations: 401.8 kB / 496.5 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.521e-05/0.1477, allocations: 16.59 kB / 496.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.1481, allocations: 183.2 kB / 496.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1483, allocations: 103.5 kB / 496.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1483, allocations: 4 kB / 496.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.1631, allocations: 7.849 MB / 0.4928 GB, free: 1.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.1632, allocations: 15.88 kB / 0.4928 GB, free: 1.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.1634, allocations: 119.4 kB / 0.4929 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008314/0.1717, allocations: 3.273 MB / 0.4961 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1718, allocations: 0 / 0.4961 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1718, allocations: 0 / 0.4961 GB, free: 14.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.1718, allocations: 0 / 0.4961 GB, free: 14.36 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.002493/0.1743, allocations: 0.7634 MB / 0.4969 GB, free: 13.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.1743, allocations: 11.98 kB / 0.4969 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.916e-05/0.1744, allocations: 62.52 kB / 0.4969 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.1749, allocations: 63.77 kB / 0.497 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1751, allocations: 140.8 kB / 0.4971 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.1751, allocations: 15.88 kB / 0.4972 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1751, allocations: 4 kB / 0.4972 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.1756, allocations: 241.5 kB / 0.4974 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1756, allocations: 0 / 0.4974 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1756, allocations: 8 kB / 0.4974 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.1757, allocations: 15.97 kB / 0.4974 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.1761, allocations: 232.4 kB / 0.4976 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.1765, allocations: 327.3 kB / 0.4979 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1776, allocations: 303.1 kB / 0.4982 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.178, allocations: 214 kB / 0.4984 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04356/0.2216, allocations: 9.202 MB / 0.5074 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.2216, allocations: 42.5 kB / 0.5075 GB, free: 2.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.595e-06/0.2216, allocations: 0 / 0.5075 GB, free: 2.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.001294/0.2229, allocations: 0.7169 MB / 0.5082 GB, free: 1.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.223, allocations: 63.34 kB / 0.5082 GB, free: 1.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2231, allocations: 105.8 kB / 0.5083 GB, free: 1.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.2231, allocations: 29.7 kB / 0.5084 GB, free: 1.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.2232, allocations: 81.45 kB / 0.5084 GB, free: 1.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.2234, allocations: 241.8 kB / 0.5087 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.2235, allocations: 65.62 kB / 0.5087 GB, free: 1.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2236, allocations: 334.8 kB / 0.509 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.2239, allocations: 188.5 kB / 0.5092 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.2242, allocations: 195.1 kB / 0.5094 GB, free: 0.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.2248, allocations: 448.7 kB / 0.5098 GB, free: 108 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2248, allocations: 0 / 0.5098 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007667/0.2256, allocations: 0.491 MB / 0.5103 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2256, allocations: 11.92 kB / 0.5103 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2256, allocations: 0 / 0.5103 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.2257, allocations: 4 kB / 0.5103 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2258, allocations: 23.98 kB / 0.5104 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2258, allocations: 7.875 kB / 0.5104 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.226, allocations: 31.72 kB / 0.5104 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.226, allocations: 11.98 kB / 0.5104 GB, free: 15.51 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.0001406/0.2262, allocations: 140.2 kB / 0.5105 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.2262, allocations: 23.81 kB / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.2274, allocations: 0.8147 MB / 0.5114 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.2274, allocations: 19.83 kB / 0.5114 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2274, allocations: 3.938 kB / 0.5114 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2274, allocations: 0 / 0.5114 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.2278, allocations: 427.3 kB / 0.5118 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2278, allocations: 0 / 0.5118 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.228, allocations: 31.97 kB / 0.5118 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.228, allocations: 0 / 0.5118 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.228, allocations: 0 / 0.5118 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.228, allocations: 0 / 0.5118 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.228, allocations: 15.86 kB / 0.5118 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.2289, allocations: 0.535 MB / 0.5124 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.229, allocations: 43.66 kB / 0.5124 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.229, allocations: 8 kB / 0.5124 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2291, allocations: 11.98 kB / 0.5124 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.2292, allocations: 19.86 kB / 0.5124 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2292, allocations: 0 / 0.5124 GB, free: 13.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.506e-05/0.2293, allocations: 95.25 kB / 0.5125 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2293, allocations: 0 / 0.5125 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002136/0.2314, allocations: 0.7167 MB / 0.5132 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.004001/0.2354, allocations: 2.015 MB / 0.5152 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007454/0.2361, allocations: 428.8 kB / 0.5156 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.2361, allocations: 0 / 0.5156 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.2365, allocations: 204.5 kB / 0.5158 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.2376, allocations: 231.6 kB / 0.516 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.2418, allocations: 3.098 MB / 0.519 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.2422, allocations: 0.7572 MB / 0.5198 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003764/0.2425, allocations: 200 kB / 0.52 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.2427, allocations: 67.41 kB / 0.52 GB, free: 5.426 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2427, allocations: 0 / 0.52 GB, free: 5.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2886/0.5313, allocations: 30.22 MB / 0.5496 GB, free: 57.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.88, allocations: 3.938 kB / 0.5496 GB, free: 57.51 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: 18.208361316937953] Failed to read output from testmodel.py, exit status != 0: 13.009460739092901 13.02782665 12.852283895 Calling exit ...