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.001298/0.001298, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001522/0.001522, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.0507/0.0507, allocations: 9.14 MB / 321.6 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 446.5 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1018, allocations: 54.96 MB / 0.4897 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01988/0.1217, allocations: 16.47 MB / 0.5058 GB, free: 9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2166/0.3383, allocations: 9.86 MB / 0.5154 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.3384, allocations: 2.812 kB / 0.5154 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.3385, allocations: 9.469 kB / 0.5154 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000842/0.3393, allocations: 303.3 kB / 0.5157 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01288/0.3522, allocations: 5.475 MB / 0.5211 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3525, allocations: 145.8 kB / 0.5212 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.3525, allocations: 4.062 kB / 0.5212 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.3529, allocations: 100.8 kB / 0.5213 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.726e-05/0.3529, allocations: 51.28 kB / 0.5214 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.353, allocations: 8.875 kB / 0.5214 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.365, allocations: 5.49 MB / 0.5267 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.365, allocations: 12.94 kB / 0.5267 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.628e-05/0.3651, allocations: 38.45 kB / 0.5268 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006458/0.3716, allocations: 2.846 MB / 0.5296 GB, free: 6.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3716, allocations: 0.6562 kB / 0.5296 GB, free: 6.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3716, allocations: 0 / 0.5296 GB, free: 6.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3716, allocations: 0 / 0.5296 GB, free: 6.371 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.001382/0.373, allocations: 0.7507 MB / 0.5303 GB, free: 5.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.373, allocations: 14.16 kB / 0.5303 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.373, allocations: 32.97 kB / 0.5303 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.3733, allocations: 26.98 kB / 0.5304 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3735, allocations: 141.5 kB / 0.5305 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3735, allocations: 5.75 kB / 0.5305 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3735, allocations: 10.19 kB / 0.5305 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.3738, allocations: 93.48 kB / 0.5306 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3738, allocations: 0 / 0.5306 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3738, allocations: 5.375 kB / 0.5306 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3738, allocations: 0 / 0.5306 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.3742, allocations: 112.1 kB / 0.5307 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.3746, allocations: 285.4 kB / 0.531 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.375, allocations: 103.7 kB / 0.5311 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.3752, allocations: 61.31 kB / 0.5311 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01612/0.3914, allocations: 4.609 MB / 0.5356 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.3914, allocations: 38.27 kB / 0.5357 GB, free: 4.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.335e-06/0.3914, allocations: 0 / 0.5357 GB, free: 4.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008175/0.3922, allocations: 217 kB / 0.5359 GB, free: 4.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.3922, allocations: 56.75 kB / 0.5359 GB, free: 4.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.816e-05/0.3923, allocations: 134.3 kB / 0.5361 GB, free: 4.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.3923, allocations: 25.7 kB / 0.5361 GB, free: 4.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.3924, allocations: 90.55 kB / 0.5362 GB, free: 4.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.3924, allocations: 31.73 kB / 0.5362 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.3924, allocations: 28.16 kB / 0.5362 GB, free: 4.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.3925, allocations: 317.2 kB / 0.5365 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3927, allocations: 47.42 kB / 0.5366 GB, free: 3.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.3928, allocations: 56.34 kB / 0.5366 GB, free: 3.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.3931, allocations: 108.5 kB / 0.5367 GB, free: 3.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3931, allocations: 0 / 0.5367 GB, free: 3.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003921/0.3935, allocations: 156.7 kB / 0.5369 GB, free: 3.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3936, allocations: 8.281 kB / 0.5369 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3936, allocations: 0 / 0.5369 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3936, allocations: 5 kB / 0.5369 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3937, allocations: 28.03 kB / 0.5369 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3937, allocations: 0 / 0.5369 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3939, allocations: 20.22 kB / 0.537 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3939, allocations: 6.031 kB / 0.537 GB, free: 3.645 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 5.925e-05/0.3939, allocations: 117.8 kB / 0.5371 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.394, allocations: 9.297 kB / 0.5371 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006639/0.3946, allocations: 417.6 kB / 0.5375 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3946, allocations: 5.719 kB / 0.5375 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3946, allocations: 1.094 kB / 0.5375 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3946, allocations: 4 kB / 0.5375 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.3949, allocations: 250.3 kB / 0.5377 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3949, allocations: 1.375 kB / 0.5377 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.395, allocations: 33.91 kB / 0.5378 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.395, allocations: 0 / 0.5378 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.395, allocations: 1.891 kB / 0.5378 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.395, allocations: 5.312 kB / 0.5378 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.395, allocations: 0 / 0.5378 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.3956, allocations: 455.4 kB / 0.5382 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.3956, allocations: 30.59 kB / 0.5382 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.3957, allocations: 8.656 kB / 0.5382 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3958, allocations: 15.92 kB / 0.5383 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.3958, allocations: 15.64 kB / 0.5383 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3959, allocations: 3.562 kB / 0.5383 GB, free: 2.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.616e-05/0.3959, allocations: 103.2 kB / 0.5384 GB, free: 2.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3959, allocations: 4 kB / 0.5384 GB, free: 2.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001445/0.3973, allocations: 460.2 kB / 0.5388 GB, free: 2.781 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.002258/0.3996, allocations: 1.586 MB / 0.5404 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004884/0.4001, allocations: 201.9 kB / 0.5406 GB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4001, allocations: 0 / 0.5406 GB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.4004, allocations: 151.7 kB / 0.5407 GB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4007, allocations: 33.42 kB / 0.5407 GB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.4029, allocations: 1.975 MB / 0.5427 GB, free: 340 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.794e-05/0.4029, allocations: 110.7 kB / 0.5428 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.509e-05/0.403, allocations: 29.27 kB / 0.5428 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.4031, allocations: 39.8 kB / 0.5428 GB, free: 216 kB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4031, allocations: 1.031 kB / 0.5428 GB, free: 216 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04804/0.4511, allocations: 17.06 MB / 0.5595 GB, free: 3.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.66, allocations: 6.484 kB / 0.5595 GB, free: 3.617 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 & 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 sys.exit(0), Time elapsed: 14.350626992061734] Failed to read output from testmodel.py, exit status != 0: 11.772588933818042 11.799545088 11.42300177 Calling exit ...