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.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.001883/0.001883, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002471/0.002471, allocations: 217.8 kB / 22.26 MB, free: 5.113 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.542/1.542, allocations: 207.6 MB / 233 MB, free: 10 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.05611/0.05611, allocations: 9.159 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.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.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.003856/0.003856, allocations: 72.31 kB / 411.1 MB, free: 46.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1131, allocations: 50.75 MB / 461.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02514/0.1383, allocations: 18.2 MB / 480 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.1514, allocations: 11.1 MB / 491.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.1515, allocations: 0 / 491.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.274e-05/0.1516, allocations: 15.84 kB / 491.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.1526, allocations: 370.2 kB / 491.5 MB, free: 14.95 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.0159/0.1686, allocations: 5.585 MB / 497.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.1689, allocations: 139.4 kB / 497.2 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.023e-05/0.169, allocations: 12 kB / 497.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.1695, allocations: 87.56 kB / 497.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.1697, allocations: 55.77 kB / 497.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.1697, allocations: 8 kB / 497.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01972/0.1894, allocations: 8.55 MB / 0.4941 GB, free: 500 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.1895, allocations: 15.94 kB / 0.4941 GB, free: 484 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.1896, allocations: 43.8 kB / 0.4941 GB, free: 440 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008763/0.1983, allocations: 3.418 MB / 0.4975 GB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1983, allocations: 0 / 0.4975 GB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1983, allocations: 0 / 0.4975 GB, free: 13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1984, allocations: 0 / 0.4975 GB, free: 13 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.001945/0.2003, allocations: 0.7516 MB / 0.4982 GB, free: 12.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2004, allocations: 11.98 kB / 0.4982 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.2004, allocations: 34.55 kB / 0.4982 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2006, allocations: 19.89 kB / 0.4983 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2007, allocations: 133 kB / 0.4984 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.2007, allocations: 4 kB / 0.4984 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.2007, allocations: 0 / 0.4984 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.2011, allocations: 105.5 kB / 0.4985 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2011, allocations: 0 / 0.4985 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2011, allocations: 0 / 0.4985 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.2011, allocations: 7.938 kB / 0.4985 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.2015, allocations: 103.9 kB / 0.4986 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.202, allocations: 288 kB / 0.4989 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.2024, allocations: 106.4 kB / 0.499 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.2026, allocations: 68.8 kB / 0.499 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01849/0.2211, allocations: 4.597 MB / 0.5035 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.2212, allocations: 34.5 kB / 0.5036 GB, free: 6.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.815e-06/0.2212, allocations: 0 / 0.5036 GB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00101/0.2222, allocations: 217.6 kB / 0.5038 GB, free: 6.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.2222, allocations: 51.41 kB / 0.5038 GB, free: 6.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2224, allocations: 133.6 kB / 0.5039 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.2224, allocations: 33.7 kB / 0.504 GB, free: 6.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.2225, allocations: 88.12 kB / 0.5041 GB, free: 6.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.2225, allocations: 35.64 kB / 0.5041 GB, free: 6.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-05/0.2226, allocations: 25.7 kB / 0.5041 GB, free: 5.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2228, allocations: 314.8 kB / 0.5044 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.223, allocations: 55.94 kB / 0.5045 GB, free: 5.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2231, allocations: 48.33 kB / 0.5045 GB, free: 5.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.2235, allocations: 112.9 kB / 0.5046 GB, free: 5.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2235, allocations: 0 / 0.5046 GB, free: 5.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004387/0.2239, allocations: 149.4 kB / 0.5048 GB, free: 5.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.224, allocations: 5.406 kB / 0.5048 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.224, allocations: 0 / 0.5048 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.224, allocations: 4 kB / 0.5048 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.2242, allocations: 35.97 kB / 0.5048 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2242, allocations: 3.938 kB / 0.5048 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.2243, allocations: 19.91 kB / 0.5048 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2243, allocations: 0 / 0.5048 GB, free: 5.246 MB / 382.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.0001108/0.2244, allocations: 115.8 kB / 0.5049 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.2244, allocations: 19.84 kB / 0.505 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008197/0.2253, allocations: 414.3 kB / 0.5054 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.2253, allocations: 4 kB / 0.5054 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2253, allocations: 0 / 0.5054 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2253, allocations: 0 / 0.5054 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.2256, allocations: 256.9 kB / 0.5056 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2256, allocations: 0 / 0.5056 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.2258, allocations: 39.84 kB / 0.5056 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2258, allocations: 4.094 kB / 0.5056 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2258, allocations: 7.938 kB / 0.5057 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2258, allocations: 0 / 0.5057 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2258, allocations: 3.984 kB / 0.5057 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.2265, allocations: 444.1 kB / 0.5061 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.2266, allocations: 39.75 kB / 0.5061 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.2266, allocations: 4 kB / 0.5061 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.2268, allocations: 11.98 kB / 0.5061 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.2268, allocations: 15.97 kB / 0.5061 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2268, allocations: 4 kB / 0.5062 GB, free: 3.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.2269, allocations: 103.2 kB / 0.5063 GB, free: 3.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2269, allocations: 0 / 0.5063 GB, free: 3.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001269/0.2282, allocations: 462.5 kB / 0.5067 GB, free: 3.273 MB / 382.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.00343/0.2316, allocations: 1.587 MB / 0.5082 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005673/0.2322, allocations: 199.9 kB / 0.5084 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2322, allocations: 3.938 kB / 0.5084 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.2325, allocations: 147.8 kB / 0.5086 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.2329, allocations: 31.97 kB / 0.5086 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.2343, allocations: 0.5841 MB / 0.5092 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.2347, allocations: 0.7241 MB / 0.5099 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.2348, allocations: 28 kB / 0.5099 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.2349, allocations: 39.42 kB / 0.51 GB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2349, allocations: 0 / 0.51 GB, free: 15.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2483/0.4832, allocations: 16.6 MB / 0.5262 GB, free: 71.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.12, allocations: 8.078 kB / 0.5262 GB, free: 71.01 MB / 398.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.036634942982346] Failed to read output from testmodel.py, exit status != 0: 12.236994137056172 12.260821883 12.057547023 Calling exit ...