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.001379/0.001379, allocations: 110 kB / 16.46 MB, free: 6.508 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.002396/0.002396, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.516/1.516, allocations: 207.6 MB / 229.8 MB, free: 4.207 MB / 174.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.05216/0.05216, allocations: 9.155 MB / 290.8 MB, free: 7.289 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.00221/0.00221, allocations: 72.36 kB / 405.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2944, allocations: 50.72 MB / 456.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02225/0.3167, allocations: 18.15 MB / 474.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.3294, allocations: 11.09 MB / 485.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.3296, allocations: 0 / 485.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.875e-05/0.3297, allocations: 7.922 kB / 485.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.3307, allocations: 374.1 kB / 486.2 MB, free: 10.19 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.01425/0.345, allocations: 5.519 MB / 491.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.3452, allocations: 139.4 kB / 491.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.3452, allocations: 4 kB / 491.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.3455, allocations: 99.5 kB / 491.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.3456, allocations: 55.77 kB / 492 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3456, allocations: 4 kB / 492 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01607/0.3617, allocations: 8.238 MB / 0.4885 GB, free: 12.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.3617, allocations: 19.92 kB / 0.4885 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.3619, allocations: 39.8 kB / 0.4886 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.3735, allocations: 3.406 MB / 0.4919 GB, free: 8.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3735, allocations: 0 / 0.4919 GB, free: 8.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3735, allocations: 4 kB / 0.4919 GB, free: 8.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3735, allocations: 4 kB / 0.4919 GB, free: 8.625 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.00195/0.3754, allocations: 0.823 MB / 0.4927 GB, free: 7.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.3755, allocations: 8.031 kB / 0.4927 GB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.371e-05/0.3755, allocations: 34.56 kB / 0.4928 GB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.3757, allocations: 19.88 kB / 0.4928 GB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.3759, allocations: 182.8 kB / 0.493 GB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3759, allocations: 12 kB / 0.493 GB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3759, allocations: 0 / 0.493 GB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.3763, allocations: 97.61 kB / 0.4931 GB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3763, allocations: 0 / 0.4931 GB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3763, allocations: 4 kB / 0.4931 GB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3763, allocations: 7.938 kB / 0.4931 GB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.3768, allocations: 103.8 kB / 0.4932 GB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.3773, allocations: 312.8 kB / 0.4935 GB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.3778, allocations: 102.5 kB / 0.4936 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.378, allocations: 61.09 kB / 0.4936 GB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.034/0.412, allocations: 15.94 MB / 0.5092 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.4121, allocations: 42.5 kB / 0.5092 GB, free: 3.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.906e-06/0.4121, allocations: 0 / 0.5092 GB, free: 3.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00146/0.4135, allocations: 213.4 kB / 0.5094 GB, free: 3.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.4136, allocations: 59.41 kB / 0.5095 GB, free: 3.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.4138, allocations: 130.2 kB / 0.5096 GB, free: 3.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.4138, allocations: 25.7 kB / 0.5096 GB, free: 3.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.4139, allocations: 92.14 kB / 0.5097 GB, free: 3.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.4139, allocations: 35.69 kB / 0.5098 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.414, allocations: 21.72 kB / 0.5098 GB, free: 3.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.4142, allocations: 318.8 kB / 0.5101 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.4145, allocations: 51.95 kB / 0.5101 GB, free: 2.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.4148, allocations: 51.94 kB / 0.5102 GB, free: 2.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.4154, allocations: 104.7 kB / 0.5103 GB, free: 2.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4154, allocations: 4 kB / 0.5103 GB, free: 2.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007079/0.4161, allocations: 158 kB / 0.5104 GB, free: 2.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4161, allocations: 4 kB / 0.5104 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4161, allocations: 3.984 kB / 0.5104 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4161, allocations: 0 / 0.5104 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.4164, allocations: 27.97 kB / 0.5105 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.4164, allocations: 8 kB / 0.5105 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.4166, allocations: 20.02 kB / 0.5105 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.4166, allocations: 7.922 kB / 0.5105 GB, free: 2.527 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.0001289/0.4167, allocations: 113.8 kB / 0.5106 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.4168, allocations: 15.84 kB / 0.5106 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.418, allocations: 394.8 kB / 0.511 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.418, allocations: 7.984 kB / 0.511 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.418, allocations: 3.938 kB / 0.511 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.418, allocations: 0 / 0.511 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.4185, allocations: 277.9 kB / 0.5113 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4185, allocations: 0 / 0.5113 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.4187, allocations: 35.91 kB / 0.5113 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4187, allocations: 0 / 0.5113 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4187, allocations: 4 kB / 0.5113 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.4187, allocations: 4 kB / 0.5113 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4187, allocations: 0 / 0.5113 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009817/0.4197, allocations: 428 kB / 0.5117 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4198, allocations: 116.9 kB / 0.5118 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.4198, allocations: 4 kB / 0.5118 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.42, allocations: 11.98 kB / 0.5119 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.42, allocations: 11.98 kB / 0.5119 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.4201, allocations: 4 kB / 0.5119 GB, free: 1.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.4202, allocations: 106.5 kB / 0.512 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4202, allocations: 0 / 0.512 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001394/0.4216, allocations: 458.5 kB / 0.5124 GB, free: 492 kB / 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.003278/0.4248, allocations: 1.587 MB / 0.514 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006495/0.4255, allocations: 195.8 kB / 0.5141 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4255, allocations: 4.188 kB / 0.5142 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.4258, allocations: 135.9 kB / 0.5143 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.4262, allocations: 31.91 kB / 0.5143 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.4274, allocations: 0.5837 MB / 0.5149 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.4279, allocations: 0.72 MB / 0.5156 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.708e-05/0.428, allocations: 19.92 kB / 0.5156 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.4281, allocations: 39.42 kB / 0.5156 GB, free: 13.07 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4281, allocations: 0 / 0.5156 GB, free: 13.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/0.4797, allocations: 16.35 MB / 0.5316 GB, free: 12.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.955/9.435, allocations: 8.5 kB / 0.5316 GB, free: 12.72 MB / 414.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 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: 12.034003971144557] Failed to read output from testmodel.py, exit status != 0: 9.51580602908507 9.531157939 9.1540984 Calling exit ...