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.001622/0.001622, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001555/0.001555, allocations: 217.8 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.335/1.335, 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.05031/0.05031, allocations: 9.171 MB / 295.2 MB, free: 12.79 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",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.002135/0.002135, allocations: 78.22 kB / 411.9 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06921/0.07135, allocations: 50.75 MB / 462.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02193/0.09328, allocations: 18.2 MB / 480.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.1052, allocations: 11.09 MB / 491.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1053, allocations: 4 kB / 491.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.183e-05/0.1054, allocations: 15.84 kB / 491.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008928/0.1063, allocations: 366.2 kB / 492.3 MB, free: 14.97 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.014/0.1203, allocations: 5.6 MB / 497.9 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.1205, allocations: 139.4 kB / 498 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.1206, allocations: 8 kB / 498 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.1209, allocations: 91.56 kB / 498.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.121, allocations: 51.77 kB / 498.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.121, allocations: 8 kB / 498.2 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/0.1353, allocations: 8.554 MB / 0.4948 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.1354, allocations: 11.94 kB / 0.4948 GB, free: 500 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.1355, allocations: 43.8 kB / 0.4949 GB, free: 456 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007553/0.143, allocations: 3.414 MB / 0.4982 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.143, allocations: 3.938 kB / 0.4982 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.143, allocations: 0 / 0.4982 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.143, allocations: 0 / 0.4982 GB, free: 13.02 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.001543/0.1446, allocations: 0.7556 MB / 0.499 GB, free: 12.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1446, allocations: 11.98 kB / 0.499 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.615e-05/0.1446, allocations: 7.938 kB / 0.499 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.1447, allocations: 34.55 kB / 0.499 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1448, allocations: 15.89 kB / 0.499 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1449, allocations: 129.1 kB / 0.4992 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-06/0.1449, allocations: 0 / 0.4992 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1449, allocations: 8 kB / 0.4992 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.1453, allocations: 101.5 kB / 0.4993 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.1453, allocations: 0 / 0.4993 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1453, allocations: 4 kB / 0.4993 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1453, allocations: 3.938 kB / 0.4993 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.1458, allocations: 111.9 kB / 0.4994 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.1462, allocations: 291.8 kB / 0.4997 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.1466, allocations: 98.55 kB / 0.4997 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.1468, allocations: 68.8 kB / 0.4998 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01757/0.1644, allocations: 4.597 MB / 0.5043 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1644, allocations: 34.56 kB / 0.5043 GB, free: 6.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.1644, allocations: 0 / 0.5043 GB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009076/0.1653, allocations: 209.6 kB / 0.5045 GB, free: 6.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1654, allocations: 55.41 kB / 0.5046 GB, free: 6.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1655, allocations: 137.6 kB / 0.5047 GB, free: 6.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1655, allocations: 25.7 kB / 0.5047 GB, free: 6.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1656, allocations: 96.12 kB / 0.5048 GB, free: 6.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.1656, allocations: 31.7 kB / 0.5049 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.1657, allocations: 25.64 kB / 0.5049 GB, free: 6.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1658, allocations: 318.8 kB / 0.5052 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.166, allocations: 56.31 kB / 0.5052 GB, free: 5.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.1662, allocations: 51.89 kB / 0.5053 GB, free: 5.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.1665, allocations: 104.8 kB / 0.5054 GB, free: 5.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1665, allocations: 4 kB / 0.5054 GB, free: 5.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004418/0.167, allocations: 149.4 kB / 0.5055 GB, free: 5.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.167, allocations: 4 kB / 0.5055 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.167, allocations: 0 / 0.5055 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.167, allocations: 0 / 0.5055 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.1671, allocations: 27.97 kB / 0.5056 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1672, allocations: 11.92 kB / 0.5056 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1673, allocations: 23.91 kB / 0.5056 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.1673, allocations: 4 kB / 0.5056 GB, free: 5.25 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 9.602e-05/0.1674, allocations: 113.8 kB / 0.5057 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.1674, allocations: 15.84 kB / 0.5057 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007469/0.1682, allocations: 414.8 kB / 0.5061 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1682, allocations: 3.938 kB / 0.5061 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1682, allocations: 288 / 0.5061 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1682, allocations: 0 / 0.5061 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1685, allocations: 257 kB / 0.5064 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1685, allocations: 7.875 kB / 0.5064 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.1686, allocations: 35.91 kB / 0.5064 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1686, allocations: 0 / 0.5064 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1686, allocations: 4 kB / 0.5064 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1686, allocations: 3.984 kB / 0.5064 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1686, allocations: 0 / 0.5064 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.1693, allocations: 444.1 kB / 0.5069 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1694, allocations: 39.75 kB / 0.5069 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1694, allocations: 8 kB / 0.5069 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1695, allocations: 11.98 kB / 0.5069 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.1696, allocations: 15.97 kB / 0.5069 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.1696, allocations: 4 kB / 0.5069 GB, free: 3.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.52e-05/0.1697, allocations: 103.3 kB / 0.507 GB, free: 3.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1697, allocations: 3.938 kB / 0.507 GB, free: 3.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001155/0.1708, allocations: 454.5 kB / 0.5075 GB, free: 3.281 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.002722/0.1736, allocations: 1.591 MB / 0.509 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005584/0.1741, allocations: 203.8 kB / 0.5092 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1741, allocations: 0 / 0.5092 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.1744, allocations: 151.8 kB / 0.5094 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.0003539/0.1748, allocations: 26.52 kB / 0.5094 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1759, allocations: 0.5933 MB / 0.51 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.1763, allocations: 0.7239 MB / 0.5107 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.004e-05/0.1764, allocations: 23.67 kB / 0.5107 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.1764, allocations: 43.41 kB / 0.5107 GB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1764, allocations: 0 / 0.5107 GB, free: 15.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2092/0.3857, allocations: 16.62 MB / 0.527 GB, free: 70.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.8, allocations: 5.312 kB / 0.527 GB, free: 70.62 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 os._exit(0), Time elapsed: 14.280338686075993] Failed to read output from testmodel.py, exit status != 0: 11.96896399592515 11.992907648 11.845411728 Calling exit ...