Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.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.00138/0.00138, allocations: 104.1 kB / 16.45 MB, free: 6.453 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.001402/0.001402, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.52/1.52, allocations: 207.6 MB / 229.8 MB, free: 11.4 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.1262/0.1262, allocations: 9.16 MB / 290.8 MB, free: 13.89 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_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",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.003314/0.003314, allocations: 72.27 kB / 405.9 MB, free: 47.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1065, allocations: 50.72 MB / 456.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02456/0.1311, allocations: 18.28 MB / 474.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005544/0.1366, allocations: 4.922 MB / 479.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1368, allocations: 3.938 kB / 479.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1378, allocations: 358.4 kB / 480.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.1399, allocations: 0.7203 MB / 480.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005216/0.1451, allocations: 1.909 MB / 482.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.1455, allocations: 171.1 kB / 482.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.1455, allocations: 5.125 kB / 482.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.1458, allocations: 99.45 kB / 483 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1459, allocations: 55.77 kB / 483.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1459, allocations: 4 kB / 483.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006507/0.1524, allocations: 3.462 MB / 486.6 MB, free: 132 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.1525, allocations: 23.84 kB / 486.6 MB, free: 108 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.1526, allocations: 55.73 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.1559, allocations: 1.461 MB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1559, allocations: 0 / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1559, allocations: 0 / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1559, allocations: 0 / 488.1 MB, free: 14.59 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001128/0.1571, allocations: 0.6258 MB / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1571, allocations: 8.031 kB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.025e-05/0.1572, allocations: 46.55 kB / 488.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.1572, allocations: 23.84 kB / 488.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.1574, allocations: 178.9 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1574, allocations: 4 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1574, allocations: 8 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1578, allocations: 193.5 kB / 489.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1578, allocations: 4 kB / 489.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1578, allocations: 8 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1578, allocations: 0 / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.1583, allocations: 279.7 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.159, allocations: 0.5067 MB / 490 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.1593, allocations: 206.5 kB / 490.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.1596, allocations: 161 kB / 490.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007735/0.1673, allocations: 7.208 MB / 497.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.1674, allocations: 42.48 kB / 497.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 3.446e-06/0.1674, allocations: 0 / 497.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001041/0.1684, allocations: 0.5661 MB / 498.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1684, allocations: 59.28 kB / 498.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1686, allocations: 105.8 kB / 498.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1686, allocations: 29.7 kB / 498.3 MB, free: 2.551 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.1686, allocations: 80.8 kB / 498.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1687, allocations: 130.8 kB / 498.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.1688, allocations: 41.69 kB / 498.6 MB, free: 2.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.169, allocations: 322.8 kB / 498.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1692, allocations: 143.9 kB / 499 MB, free: 1.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.1694, allocations: 151.8 kB / 499.2 MB, free: 1.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.1699, allocations: 317.9 kB / 499.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1699, allocations: 0 / 499.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005402/0.1704, allocations: 374.5 kB / 499.9 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.1704, allocations: 11.94 kB / 499.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1704, allocations: 0 / 499.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1705, allocations: 4 kB / 499.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1706, allocations: 27.97 kB / 499.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1706, allocations: 0 / 499.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.16e-05/0.1707, allocations: 19.88 kB / 499.9 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1707, allocations: 4 kB / 499.9 MB, free: 0.9297 MB / 366.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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000122/0.1708, allocations: 117.8 kB / 0.4883 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.1709, allocations: 23.84 kB / 0.4883 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/0.1716, allocations: 424.5 kB / 0.4887 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.1717, allocations: 4 kB / 0.4887 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1717, allocations: 0 / 0.4887 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1717, allocations: 0 / 0.4887 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.1721, allocations: 286.6 kB / 0.489 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1721, allocations: 4.25 kB / 0.489 GB, free: 28 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.1722, allocations: 28.05 kB / 0.4891 GB, free: 16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.1722, allocations: 11.94 kB / 0.4891 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1722, allocations: 0 / 0.4891 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1722, allocations: 3.938 kB / 0.4891 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1722, allocations: 0 / 0.4891 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.1729, allocations: 476.2 kB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.1731, allocations: 120.8 kB / 0.4896 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1731, allocations: 4 kB / 0.4896 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.1732, allocations: 11.98 kB / 0.4897 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.1732, allocations: 19.86 kB / 0.4897 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.1732, allocations: 4 kB / 0.4897 GB, free: 15.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.1733, allocations: 79.28 kB / 0.4897 GB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1733, allocations: 0 / 0.4897 GB, free: 15.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001443/0.1748, allocations: 430.6 kB / 0.4902 GB, free: 14.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00245/0.1772, allocations: 1.547 MB / 0.4917 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005439/0.1777, allocations: 335.5 kB / 0.492 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1778, allocations: 0 / 0.492 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.178, allocations: 159.9 kB / 0.4921 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.1785, allocations: 71.77 kB / 0.4922 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1796, allocations: 0.5539 MB / 0.4928 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1799, allocations: 0.7242 MB / 0.4935 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.903e-05/0.18, allocations: 20.19 kB / 0.4935 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.1801, allocations: 39.42 kB / 0.4935 GB, free: 11.3 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1801, allocations: 0 / 0.4935 GB, free: 11.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.222, allocations: 13.5 MB / 0.5067 GB, free: 13.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/8.914, allocations: 12.05 kB / 0.5067 GB, free: 13.83 MB / 398.1 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0028 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.01346829906106] Failed to read output from testmodel.py, exit status != 0: 8.996054412797093 9.023666576 8.862249976 Calling exit ...