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.001327/0.001327, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001597/0.001597, allocations: 216.5 kB / 22.26 MB, free: 5.121 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.462/1.462, allocations: 207.6 MB / 233 MB, free: 9.98 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.09048/0.09048, allocations: 9.161 MB / 294.4 MB, free: 12.69 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.002327/0.002327, allocations: 68.41 kB / 411.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.09173, allocations: 50.77 MB / 461.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02469/0.1164, allocations: 18.33 MB / 480.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005582/0.122, allocations: 4.922 MB / 485.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1221, allocations: 3.938 kB / 485.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.1232, allocations: 358.4 kB / 485.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.1251, allocations: 0.7397 MB / 486.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.1295, allocations: 1.91 MB / 488.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.1298, allocations: 171.1 kB / 488.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.1299, allocations: 5.312 kB / 488.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.1301, allocations: 107.4 kB / 488.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1303, allocations: 47.8 kB / 488.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1303, allocations: 8 kB / 488.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006049/0.1363, allocations: 3.614 MB / 492 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.1363, allocations: 19.86 kB / 492 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.1364, allocations: 51.75 kB / 492.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.1391, allocations: 1.477 MB / 493.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1391, allocations: 4 kB / 493.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1391, allocations: 0 / 493.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1391, allocations: 0 / 493.6 MB, free: 12.86 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.001015/0.1401, allocations: 0.5388 MB / 494.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1401, allocations: 11.98 kB / 494.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.1402, allocations: 54.53 kB / 494.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.1402, allocations: 15.84 kB / 494.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1404, allocations: 117.1 kB / 494.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1404, allocations: 4 kB / 494.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1404, allocations: 15.98 kB / 494.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.1408, allocations: 205.5 kB / 494.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1408, allocations: 0 / 494.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1408, allocations: 4 kB / 494.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1408, allocations: 0 / 494.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.1413, allocations: 291.8 kB / 494.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008003/0.1421, allocations: 0.4906 MB / 495.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.1424, allocations: 206.5 kB / 495.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.1427, allocations: 168.9 kB / 495.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003533/0.1462, allocations: 0.7981 MB / 496.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.1463, allocations: 38.5 kB / 496.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.655e-06/0.1463, allocations: 4 kB / 496.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009914/0.1473, allocations: 0.5991 MB / 497.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.1473, allocations: 55.41 kB / 497.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.1474, allocations: 97.86 kB / 497.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1474, allocations: 33.64 kB / 497.3 MB, free: 8.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.1475, allocations: 88.78 kB / 497.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1476, allocations: 122.8 kB / 497.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.1477, allocations: 37.7 kB / 497.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1478, allocations: 326.8 kB / 497.9 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1481, allocations: 151.9 kB / 498 MB, free: 8.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.1483, allocations: 152.8 kB / 498.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.1487, allocations: 334.2 kB / 498.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1487, allocations: 4 kB / 498.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005645/0.1493, allocations: 382.6 kB / 498.9 MB, free: 7.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1493, allocations: 11.94 kB / 498.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1493, allocations: 0 / 498.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1493, allocations: 0 / 498.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1495, allocations: 31.97 kB / 498.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1495, allocations: 0 / 498.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.1496, allocations: 19.89 kB / 498.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1496, allocations: 8 kB / 498.9 MB, free: 7.301 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 9.849e-05/0.1497, allocations: 125.8 kB / 499.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.1497, allocations: 15.84 kB / 499.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006572/0.1504, allocations: 435.7 kB / 499.5 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.1504, allocations: 7.984 kB / 499.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1504, allocations: 0 / 499.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1504, allocations: 0 / 499.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.1507, allocations: 269.9 kB / 499.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1507, allocations: 0 / 499.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1508, allocations: 35.84 kB / 499.8 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1508, allocations: 3.938 kB / 499.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1508, allocations: 4 kB / 499.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1508, allocations: 4 kB / 499.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1508, allocations: 0 / 499.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.1515, allocations: 492.5 kB / 0.4886 GB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.1516, allocations: 43.69 kB / 0.4886 GB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1516, allocations: 0 / 0.4886 GB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.54e-05/0.1517, allocations: 8.25 kB / 0.4886 GB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.1517, allocations: 11.97 kB / 0.4886 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1517, allocations: 8 kB / 0.4886 GB, free: 5.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.1518, allocations: 87.22 kB / 0.4887 GB, free: 5.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1518, allocations: 0 / 0.4887 GB, free: 5.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001036/0.1528, allocations: 426.6 kB / 0.4891 GB, free: 5.297 MB / 366.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.002316/0.1551, allocations: 1.563 MB / 0.4907 GB, free: 3.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005451/0.1557, allocations: 339.7 kB / 0.491 GB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1557, allocations: 0 / 0.491 GB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1559, allocations: 167.9 kB / 0.4911 GB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.1565, allocations: 71.78 kB / 0.4912 GB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1575, allocations: 0.5766 MB / 0.4918 GB, free: 2.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1578, allocations: 0.7126 MB / 0.4925 GB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.381e-05/0.1579, allocations: 17.55 kB / 0.4925 GB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.158, allocations: 43.42 kB / 0.4925 GB, free: 1.719 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.158, allocations: 0 / 0.4925 GB, free: 1.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/0.2063, allocations: 13.79 MB / 0.506 GB, free: 3.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.54, allocations: 7.938 kB / 0.506 GB, free: 3.941 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.498418877003132] Failed to read output from testmodel.py, exit status != 0: 11.657285326997226 11.686480907 11.541974963 Calling exit ...