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.0007653/0.0007653, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008567/0.0008567, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.8997/0.8997, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.03301/0.03301, allocations: 7.509 MB / 266.7 MB, free: 6.203 MB / 250.7 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 1.402e-06/1.402e-06, allocations: 0 / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.376e-05, allocations: 9.172 kB / 391.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.0132/0.01321, allocations: 16.46 MB / 408.2 MB, free: 5.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00712/0.02033, allocations: 9.871 MB / 418.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.02042, allocations: 0 / 418.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.02045, allocations: 11.86 kB / 418.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006437/0.0211, allocations: 307 kB / 418.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009071/0.03017, allocations: 5.559 MB / 423.9 MB, free: 6.047 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.03034, allocations: 155.2 kB / 424.1 MB, free: 5.895 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.03039, allocations: 8 kB / 424.1 MB, free: 5.887 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.03063, allocations: 123.5 kB / 424.2 MB, free: 5.766 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.03069, allocations: 39.89 kB / 424.3 MB, free: 5.727 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.0307, allocations: 8 kB / 424.3 MB, free: 5.719 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006125/0.03683, allocations: 5.526 MB / 429.8 MB, free: 184 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.03685, allocations: 19.98 kB / 429.8 MB, free: 164 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.03689, allocations: 35.91 kB / 429.8 MB, free: 128 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.04033, allocations: 3.335 MB / 433.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.04033, allocations: 3.938 kB / 433.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04033, allocations: 0 / 433.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.04034, allocations: 4 kB / 433.2 MB, free: 12.77 MB / 410.7 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.0008393/0.04118, allocations: 0.7361 MB / 433.9 MB, free: 12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.04122, allocations: 12.62 kB / 433.9 MB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.04125, allocations: 34.56 kB / 434 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.0414, allocations: 27.83 kB / 434 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.04159, allocations: 151.6 kB / 434.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.0416, allocations: 3.938 kB / 434.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.04161, allocations: 8 kB / 434.2 MB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.04183, allocations: 101.5 kB / 434.3 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.04184, allocations: 0 / 434.3 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.04185, allocations: 0 / 434.3 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.04185, allocations: 4 kB / 434.3 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.04207, allocations: 107.9 kB / 434.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.04239, allocations: 283.8 kB / 434.6 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.04265, allocations: 98.5 kB / 434.7 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.04276, allocations: 64.81 kB / 434.8 MB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008374/0.05113, allocations: 4.598 MB / 439.4 MB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.05116, allocations: 42.5 kB / 439.4 MB, free: 6.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.05116, allocations: 0 / 439.4 MB, free: 6.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008589/0.05202, allocations: 217.6 kB / 439.7 MB, free: 6.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.05205, allocations: 51.41 kB / 439.7 MB, free: 6.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.05214, allocations: 137.8 kB / 439.8 MB, free: 5.945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.05216, allocations: 33.64 kB / 439.9 MB, free: 5.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.05221, allocations: 88.14 kB / 440 MB, free: 5.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.05224, allocations: 39.72 kB / 440 MB, free: 5.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.05227, allocations: 17.72 kB / 440 MB, free: 5.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.05235, allocations: 322.8 kB / 440.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.05245, allocations: 47.95 kB / 440.4 MB, free: 5.383 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.05254, allocations: 51.94 kB / 440.4 MB, free: 5.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.05273, allocations: 104.8 kB / 440.5 MB, free: 5.227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.05273, allocations: 0 / 440.5 MB, free: 5.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002345/0.05297, allocations: 150 kB / 440.7 MB, free: 5.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.05298, allocations: 4 kB / 440.7 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.05299, allocations: 4 kB / 440.7 MB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.053, allocations: 3.938 kB / 440.7 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.05308, allocations: 36 kB / 440.7 MB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.05309, allocations: 3.938 kB / 440.7 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.05315, allocations: 23.88 kB / 440.7 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.05316, allocations: 3.984 kB / 440.8 MB, free: 4.996 MB / 410.7 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 7.204e-05/0.05323, allocations: 114.5 kB / 440.9 MB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.05325, allocations: 11.89 kB / 440.9 MB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.0537, allocations: 411 kB / 441.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.05371, allocations: 7.922 kB / 441.3 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.05371, allocations: 0 / 441.3 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.05372, allocations: 4 kB / 441.3 MB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.0539, allocations: 252.9 kB / 441.5 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.0539, allocations: 0 / 441.5 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.05397, allocations: 35.91 kB / 441.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.05397, allocations: 0 / 441.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.05398, allocations: 4 kB / 441.6 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.05398, allocations: 3.938 kB / 441.6 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.05398, allocations: 0 / 441.6 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.05435, allocations: 444.8 kB / 442 MB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.05439, allocations: 39.77 kB / 442.1 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.0544, allocations: 0 / 442.1 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.05447, allocations: 19.92 kB / 442.1 MB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.05452, allocations: 15.97 kB / 442.1 MB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.05452, allocations: 4 kB / 442.1 MB, free: 3.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.05456, allocations: 101.5 kB / 442.2 MB, free: 3.484 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05456, allocations: 3.938 kB / 442.2 MB, free: 3.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006277/0.05519, allocations: 466.4 kB / 442.6 MB, free: 3.023 MB / 410.7 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.00162/0.05681, allocations: 1.65 MB / 444.3 MB, free: 1.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.05713, allocations: 199.8 kB / 444.5 MB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.05713, allocations: 192 / 444.5 MB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.05729, allocations: 151.9 kB / 444.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.05754, allocations: 31.84 kB / 444.7 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1388/0.1964, allocations: 1.952 MB / 446.6 MB, free: 90.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.282e-05/0.1964, allocations: 108.4 kB / 446.7 MB, free: 90.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.777e-05/0.1965, allocations: 18.55 kB / 446.7 MB, free: 90.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.1966, allocations: 43.05 kB / 446.8 MB, free: 90.55 MB / 410.7 MB Notification: Performance of SimCode: time 5.92e-07/0.1966, allocations: 0 / 446.8 MB, free: 90.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.2246, allocations: 17.17 MB / 464 MB, free: 88.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/7.355, allocations: 2.75 kB / 464 MB, free: 88.98 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.323643608018756] Failed to read output from testmodel.py, exit status != 0: 7.441210892982781 7.452726886 7.409509499 Calling exit ...