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.0009979/0.0009979, allocations: 80.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.001194/0.001194, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9145/0.9145, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02878/0.02878, allocations: 7.513 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 3.287e-06/3.287e-06, allocations: 0 / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.63e-05, allocations: 6.219 kB / 391.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01445/0.01447, allocations: 16.47 MB / 408.2 MB, free: 5.824 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006751/0.02122, allocations: 9.867 MB / 418.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.02135, allocations: 4 kB / 418.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.0214, allocations: 11.86 kB / 418.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008139/0.02221, allocations: 303 kB / 418.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.03306, allocations: 5.564 MB / 423.9 MB, free: 6.043 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.03327, allocations: 147.2 kB / 424.1 MB, free: 5.898 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.03332, allocations: 11.98 kB / 424.1 MB, free: 5.887 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.03364, allocations: 119.5 kB / 424.2 MB, free: 5.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.0337, allocations: 35.91 kB / 424.3 MB, free: 5.734 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.03372, allocations: 4 kB / 424.3 MB, free: 5.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007655/0.04137, allocations: 5.538 MB / 429.8 MB, free: 184 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.04141, allocations: 11.92 kB / 429.8 MB, free: 172 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.04148, allocations: 31.97 kB / 429.8 MB, free: 140 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.04868, allocations: 3.339 MB / 433.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.04868, allocations: 3.938 kB / 433.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.04869, allocations: 0 / 433.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.04869, allocations: 0 / 433.2 MB, free: 12.79 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.001478/0.05017, allocations: 0.7426 MB / 433.9 MB, free: 12.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.05022, allocations: 8.625 kB / 433.9 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.05026, allocations: 42.55 kB / 434 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.05047, allocations: 35.77 kB / 434 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.05075, allocations: 141 kB / 434.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.05076, allocations: 8 kB / 434.2 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.05077, allocations: 0 / 434.2 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.05105, allocations: 101.5 kB / 434.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.05105, allocations: 0 / 434.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.05107, allocations: 4 kB / 434.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.05107, allocations: 12 kB / 434.3 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.05129, allocations: 99.88 kB / 434.4 MB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.0517, allocations: 287.8 kB / 434.6 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.05202, allocations: 98.55 kB / 434.7 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.05214, allocations: 64.8 kB / 434.8 MB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008717/0.06086, allocations: 4.598 MB / 439.4 MB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.06089, allocations: 34.56 kB / 439.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 3.386e-06/0.06089, allocations: 0 / 439.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005934/0.06148, allocations: 217.5 kB / 439.6 MB, free: 6.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.06153, allocations: 51.41 kB / 439.7 MB, free: 6.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.06162, allocations: 141.8 kB / 439.8 MB, free: 5.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.06163, allocations: 25.7 kB / 439.9 MB, free: 5.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.06167, allocations: 92.12 kB / 440 MB, free: 5.824 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.06171, allocations: 31.73 kB / 440 MB, free: 5.793 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.06176, allocations: 29.7 kB / 440 MB, free: 5.758 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.06184, allocations: 310.8 kB / 440.3 MB, free: 5.445 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.06195, allocations: 55.88 kB / 440.4 MB, free: 5.391 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.06204, allocations: 51.95 kB / 440.4 MB, free: 5.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.06224, allocations: 113.3 kB / 440.5 MB, free: 5.227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.06224, allocations: 0 / 440.5 MB, free: 5.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002388/0.06248, allocations: 149.5 kB / 440.7 MB, free: 5.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.06249, allocations: 4 kB / 440.7 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.0625, allocations: 4 kB / 440.7 MB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.06252, allocations: 3.938 kB / 440.7 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.0626, allocations: 27.97 kB / 440.7 MB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.06261, allocations: 0 / 440.7 MB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.06266, allocations: 23.86 kB / 440.7 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.06267, allocations: 7.938 kB / 440.7 MB, free: 5.004 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.081e-05/0.06274, allocations: 118.4 kB / 440.9 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.06276, allocations: 11.95 kB / 440.9 MB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.06321, allocations: 407 kB / 441.3 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.06322, allocations: 7.938 kB / 441.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.06322, allocations: 0 / 441.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.06323, allocations: 0 / 441.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.06342, allocations: 256.9 kB / 441.5 MB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.06342, allocations: 3.984 kB / 441.5 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.06349, allocations: 27.98 kB / 441.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.06349, allocations: 3.938 kB / 441.6 MB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.0635, allocations: 7.984 kB / 441.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.06351, allocations: 3.938 kB / 441.6 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.06351, allocations: 0 / 441.6 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.06388, allocations: 444.8 kB / 442 MB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.06393, allocations: 39.7 kB / 442.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.06394, allocations: 4 kB / 442.1 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.06401, allocations: 19.91 kB / 442.1 MB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.06405, allocations: 15.98 kB / 442.1 MB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.06406, allocations: 4 kB / 442.1 MB, free: 3.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.06411, allocations: 105.7 kB / 442.2 MB, free: 3.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06411, allocations: 0 / 442.2 MB, free: 3.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001014/0.06512, allocations: 462.4 kB / 442.6 MB, free: 3.027 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.001917/0.06704, allocations: 1.641 MB / 444.3 MB, free: 1.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.06735, allocations: 207.8 kB / 444.5 MB, free: 1.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.06735, allocations: 4 kB / 444.5 MB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.06751, allocations: 147.8 kB / 444.6 MB, free: 1.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.06777, allocations: 31.91 kB / 444.7 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1635/0.2312, allocations: 1.96 MB / 446.6 MB, free: 90.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.35e-05/0.2313, allocations: 103.2 kB / 446.7 MB, free: 90.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.2314, allocations: 20.2 kB / 446.8 MB, free: 90.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.2315, allocations: 39.86 kB / 446.8 MB, free: 90.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.2315, allocations: 0 / 446.8 MB, free: 90.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.2674, allocations: 17.26 MB / 464 MB, free: 89.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.635, allocations: 3.188 kB / 464 MB, free: 89.2 MB / 410.7 MB " [Timeout remaining time 652] (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.680948914960027] Failed to read output from testmodel.py, exit status != 0: 7.723976759240031 7.735122442 7.684357816 Calling exit ...