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.001284/0.001284, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001428/0.001428, allocations: 217.1 kB / 23.03 MB, free: 4.922 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.355/1.355, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.07408/0.07408, allocations: 9.153 MB / 295.3 MB, free: 12.51 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.002118/0.002118, allocations: 71.45 kB / 411.8 MB, free: 46.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07283/0.07495, allocations: 50.75 MB / 462.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02093/0.09587, allocations: 16.42 MB / 479 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.1071, allocations: 9.821 MB / 488.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1072, allocations: 0 / 488.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.82e-05/0.1073, allocations: 19.8 kB / 488.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.1084, allocations: 314.3 kB / 489.2 MB, free: 1.734 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.01458/0.123, allocations: 5.494 MB / 494.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1232, allocations: 147.2 kB / 494.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.1233, allocations: 8 kB / 494.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.1235, allocations: 91.56 kB / 494.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.1236, allocations: 51.83 kB / 494.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1237, allocations: 4 kB / 494.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.1343, allocations: 5.715 MB / 0.4889 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.1343, allocations: 15.92 kB / 0.4889 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.1344, allocations: 43.84 kB / 0.489 GB, free: 6.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006785/0.1412, allocations: 2.837 MB / 0.4918 GB, free: 3.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1412, allocations: 0 / 0.4918 GB, free: 3.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1412, allocations: 0 / 0.4918 GB, free: 3.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1412, allocations: 0 / 0.4918 GB, free: 3.305 MB / 366.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.001597/0.1428, allocations: 0.7555 MB / 0.4925 GB, free: 2.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1429, allocations: 11.98 kB / 0.4925 GB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.749e-05/0.1429, allocations: 4 kB / 0.4925 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.1429, allocations: 34.56 kB / 0.4925 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1431, allocations: 15.89 kB / 0.4926 GB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1432, allocations: 125.1 kB / 0.4927 GB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1432, allocations: 0 / 0.4927 GB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1432, allocations: 8 kB / 0.4927 GB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.1436, allocations: 101.6 kB / 0.4928 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1436, allocations: 0 / 0.4928 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1436, allocations: 0 / 0.4928 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1436, allocations: 3.938 kB / 0.4928 GB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.144, allocations: 107.9 kB / 0.4929 GB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.1446, allocations: 283.8 kB / 0.4932 GB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.145, allocations: 102.5 kB / 0.4933 GB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.1452, allocations: 60.81 kB / 0.4933 GB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01858/0.1638, allocations: 4.612 MB / 0.4978 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.1638, allocations: 38.5 kB / 0.4979 GB, free: 12.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/0.1638, allocations: 0 / 0.4979 GB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008886/0.1647, allocations: 213.7 kB / 0.4981 GB, free: 12.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1648, allocations: 51.41 kB / 0.4981 GB, free: 12.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1649, allocations: 141.6 kB / 0.4982 GB, free: 12.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1649, allocations: 29.7 kB / 0.4983 GB, free: 12.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.165, allocations: 92.08 kB / 0.4984 GB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.165, allocations: 31.69 kB / 0.4984 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.1651, allocations: 21.72 kB / 0.4984 GB, free: 12.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1652, allocations: 322.8 kB / 0.4987 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.1654, allocations: 51.95 kB / 0.4988 GB, free: 11.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.1656, allocations: 47.95 kB / 0.4988 GB, free: 11.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.1659, allocations: 104.8 kB / 0.4989 GB, free: 11.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1659, allocations: 0 / 0.4989 GB, free: 11.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004237/0.1663, allocations: 161.9 kB / 0.4991 GB, free: 11.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1663, allocations: 5.406 kB / 0.4991 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1664, allocations: 0 / 0.4991 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1664, allocations: 0 / 0.4991 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1665, allocations: 32 kB / 0.4991 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1665, allocations: 3.938 kB / 0.4991 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1666, allocations: 23.92 kB / 0.4991 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1667, allocations: 4 kB / 0.4991 GB, free: 11.55 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.771e-05/0.1667, allocations: 113.8 kB / 0.4992 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.1668, allocations: 19.83 kB / 0.4993 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007399/0.1675, allocations: 402.9 kB / 0.4996 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1675, allocations: 4 kB / 0.4996 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.1675, allocations: 7.984 kB / 0.4997 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1676, allocations: 4 kB / 0.4997 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.1679, allocations: 245 kB / 0.4999 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.1679, allocations: 3.938 kB / 0.4999 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.168, allocations: 31.91 kB / 0.4999 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.168, allocations: 0 / 0.4999 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.168, allocations: 4 kB / 0.4999 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.168, allocations: 3.984 kB / 0.4999 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.168, allocations: 8 kB / 0.4999 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006708/0.1687, allocations: 444 kB / 0.5004 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.1688, allocations: 35.77 kB / 0.5004 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1688, allocations: 3.984 kB / 0.5004 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1689, allocations: 15.98 kB / 0.5004 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.169, allocations: 11.92 kB / 0.5004 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.169, allocations: 8 kB / 0.5004 GB, free: 10.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.527e-05/0.1691, allocations: 107.2 kB / 0.5005 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1691, allocations: 0 / 0.5005 GB, free: 10.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00119/0.1703, allocations: 462.5 kB / 0.501 GB, free: 9.582 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.002925/0.1732, allocations: 1.591 MB / 0.5025 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.1737, allocations: 199.8 kB / 0.5027 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1737, allocations: 0 / 0.5027 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.174, allocations: 151.8 kB / 0.5029 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1744, allocations: 32.12 kB / 0.5029 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1757, allocations: 0.5817 MB / 0.5035 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1758, allocations: 113.9 kB / 0.5036 GB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.014e-05/0.1759, allocations: 19.86 kB / 0.5036 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.176, allocations: 39.42 kB / 0.5036 GB, free: 6.77 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.176, allocations: 0 / 0.5036 GB, free: 6.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/0.2209, allocations: 16.72 MB / 0.52 GB, free: 6.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.76, allocations: 16.02 kB / 0.52 GB, free: 6.051 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.441882772021927] Failed to read output from testmodel.py, exit status != 0: 11.929880707059056 12.109208707 11.964935469 Calling exit ...