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.001271/0.001271, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001315/0.001315, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9841/0.9841, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.06995/0.06995, allocations: 7.525 MB / 267.8 MB, free: 5.867 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: translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 285.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.039e-05, allocations: 5.125 kB / 285.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.1193/0.1193, allocations: 18.25 MB / 304.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.1225, allocations: 4.878 MB / 309 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.1225, allocations: 0 / 309 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006326/0.1232, allocations: 297 kB / 309.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.1244, allocations: 0.7279 MB / 310 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.1269, allocations: 1.796 MB / 311.8 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1271, allocations: 183.8 kB / 312 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.1271, allocations: 10.19 kB / 312 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.1273, allocations: 127.1 kB / 312.1 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.1273, allocations: 44.88 kB / 312.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1274, allocations: 2.531 kB / 312.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.1297, allocations: 2.744 MB / 314.9 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.1297, allocations: 7.938 kB / 314.9 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.1298, allocations: 43.91 kB / 315 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.1309, allocations: 1.531 MB / 316.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1309, allocations: 0 / 316.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1309, allocations: 0 / 316.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.131, allocations: 0 / 316.5 MB, free: 2.555 MB / 266.7 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.0004863/0.1314, allocations: 0.5175 MB / 317 MB, free: 2.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.1315, allocations: 8.625 kB / 317 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.1315, allocations: 8 kB / 317 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.938e-05/0.1316, allocations: 133 kB / 317.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1316, allocations: 8 kB / 317.2 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.1316, allocations: 4 kB / 317.2 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.1317, allocations: 116.2 kB / 317.3 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1317, allocations: 0 / 317.3 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.1317, allocations: 4 kB / 317.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1317, allocations: 7.984 kB / 317.3 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.1318, allocations: 81.14 kB / 317.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.132, allocations: 320.9 kB / 317.7 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/0.1321, allocations: 138.7 kB / 317.8 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.1321, allocations: 64.64 kB / 317.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.1335, allocations: 0.7655 MB / 318.6 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.1335, allocations: 34.56 kB / 318.7 MB, free: 280 kB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.503e-06/0.1335, allocations: 0 / 318.7 MB, free: 280 kB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0001897/0.1337, allocations: 272.7 kB / 318.9 MB, free: 0 / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1338, allocations: 51.41 kB / 319 MB, free: 15.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.007e-05/0.1338, allocations: 118.6 kB / 319.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1338, allocations: 25.7 kB / 319.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.1339, allocations: 92.73 kB / 319.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.1339, allocations: 118.9 kB / 319.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.134, allocations: 41.67 kB / 319.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.134, allocations: 330.7 kB / 319.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.1341, allocations: 50.67 kB / 319.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.479e-05/0.1341, allocations: 44 kB / 319.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.484e-05/0.1342, allocations: 130 kB / 319.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1342, allocations: 0 / 319.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001354/0.1343, allocations: 174.8 kB / 320.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1344, allocations: 4 kB / 320.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1344, allocations: 7.938 kB / 320.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1344, allocations: 4 kB / 320.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.1344, allocations: 19.98 kB / 320.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.1344, allocations: 4 kB / 320.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.1345, allocations: 23.83 kB / 320.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1345, allocations: 3.938 kB / 320.2 MB, free: 14.72 MB / 282.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 (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 5.556e-05/0.1345, allocations: 117.8 kB / 320.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.1346, allocations: 13.36 kB / 320.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.1347, allocations: 204.9 kB / 320.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.1348, allocations: 11.98 kB / 320.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1348, allocations: 4 kB / 320.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1348, allocations: 0.6094 kB / 320.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.1349, allocations: 150.9 kB / 320.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1349, allocations: 0 / 320.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.1349, allocations: 27.97 kB / 320.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1349, allocations: 0 / 320.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.1349, allocations: 0 / 320.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1349, allocations: 4.562 kB / 320.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1349, allocations: 0 / 320.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1351, allocations: 327.2 kB / 321 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.1352, allocations: 33.7 kB / 321 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.1352, allocations: 0 / 321 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.1352, allocations: 14.12 kB / 321.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.1352, allocations: 11.97 kB / 321.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1352, allocations: 0 / 321.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.407e-06/0.1352, allocations: 8.859 kB / 321.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1352, allocations: 0 / 321.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.1357, allocations: 426.6 kB / 321.5 MB, free: 13.34 MB / 282.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: 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.0008946/0.1366, allocations: 0.7174 MB / 322.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.1368, allocations: 137.5 kB / 322.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1368, allocations: 0 / 322.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.1368, allocations: 79.81 kB / 322.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.1371, allocations: 77.88 kB / 322.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.1376, allocations: 304.2 kB / 322.8 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.1376, allocations: 72.34 kB / 322.9 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.1377, allocations: 24.77 kB / 322.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.1378, allocations: 95.33 kB / 323 MB, free: 11.82 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1378, allocations: 0 / 323 MB, free: 11.82 MB / 282.7 MB Notification: Performance of Templates: time 0.01352/0.1513, allocations: 13.91 MB / 336.9 MB, free: 14.06 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0736118708737195]