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.0008673/0.0008673, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0008881/0.0008881, allocations: 181 kB / 23.36 MB, free: 1.133 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.9332/0.9332, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.04996/0.04996, allocations: 7.526 MB / 267.8 MB, free: 5.875 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.753e-06/1.753e-06, allocations: 0 / 285.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.084e-05, allocations: 6.25 kB / 285.8 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.1203/0.1204, allocations: 18.19 MB / 304 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.1237, allocations: 4.878 MB / 308.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.1237, allocations: 0 / 308.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007105/0.1244, allocations: 302.3 kB / 309.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.1259, allocations: 0.7316 MB / 309.9 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003274/0.1292, allocations: 1.917 MB / 311.8 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.1294, allocations: 187.9 kB / 312 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.1294, allocations: 6.344 kB / 312 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.1297, allocations: 132.1 kB / 312.2 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.1297, allocations: 43.12 kB / 312.2 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1298, allocations: 7.062 kB / 312.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.1327, allocations: 2.58 MB / 314.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.1327, allocations: 19.91 kB / 314.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.1328, allocations: 31.94 kB / 314.8 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.1349, allocations: 1.539 MB / 316.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1349, allocations: 0 / 316.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1349, allocations: 0 / 316.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1349, allocations: 0 / 316.4 MB, free: 2.711 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.0006707/0.1356, allocations: 0.5175 MB / 316.9 MB, free: 2.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1356, allocations: 12.62 kB / 316.9 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.1356, allocations: 11.98 kB / 316.9 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.595e-05/0.1357, allocations: 126.4 kB / 317 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1357, allocations: 0 / 317 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1357, allocations: 8 kB / 317 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1358, allocations: 122.7 kB / 317.2 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.1358, allocations: 0 / 317.2 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-06/0.1359, allocations: 0 / 317.2 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1359, allocations: 8 kB / 317.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.609e-05/0.1359, allocations: 85.08 kB / 317.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.1362, allocations: 324.9 kB / 317.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.229e-05/0.1363, allocations: 138.7 kB / 317.7 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.1363, allocations: 56.72 kB / 317.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/0.1378, allocations: 0.7659 MB / 318.5 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1378, allocations: 38.5 kB / 318.6 MB, free: 436 kB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.1378, allocations: 0 / 318.6 MB, free: 436 kB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0002108/0.138, allocations: 276.8 kB / 318.8 MB, free: 152 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/0.1381, allocations: 55.41 kB / 318.9 MB, free: 84 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.1381, allocations: 103.5 kB / 319 MB, free: 15.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1381, allocations: 33.7 kB / 319 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.1382, allocations: 88.72 kB / 319.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.1382, allocations: 118.9 kB / 319.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.1383, allocations: 37.69 kB / 319.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.656e-05/0.1383, allocations: 330.7 kB / 319.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.1384, allocations: 54.69 kB / 319.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.1384, allocations: 47.92 kB / 319.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.345e-05/0.1385, allocations: 133.9 kB / 319.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1385, allocations: 0.6875 kB / 319.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001347/0.1386, allocations: 164.3 kB / 320 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1387, allocations: 4 kB / 320 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1387, allocations: 0 / 320 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1387, allocations: 7.984 kB / 320 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.1388, allocations: 27.92 kB / 320 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.1388, allocations: 4 kB / 320 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.1388, allocations: 21.72 kB / 320 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.1388, allocations: 3.938 kB / 320 MB, free: 14.88 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 6.543e-05/0.1389, allocations: 117.8 kB / 320.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.1389, allocations: 14.19 kB / 320.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.1391, allocations: 210 kB / 320.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1391, allocations: 4 kB / 320.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1391, allocations: 3.938 kB / 320.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1391, allocations: 3.984 kB / 320.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.1392, allocations: 158.9 kB / 320.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1392, allocations: 0 / 320.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.1393, allocations: 19.98 kB / 320.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1393, allocations: 4 kB / 320.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.1393, allocations: 4 kB / 320.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1393, allocations: 0 / 320.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1393, allocations: 0 / 320.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1395, allocations: 327.3 kB / 320.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.1395, allocations: 26.88 kB / 320.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.1395, allocations: 4 kB / 320.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.059e-05/0.1396, allocations: 7.984 kB / 320.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.1396, allocations: 7.984 kB / 320.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1396, allocations: 8 kB / 320.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.448e-05/0.1396, allocations: 16.83 kB / 321 MB, free: 13.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1396, allocations: 0 / 321 MB, free: 13.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005798/0.1402, allocations: 422.6 kB / 321.4 MB, free: 13.5 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.0009408/0.1411, allocations: 0.715 MB / 322.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1413, allocations: 145.4 kB / 322.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1413, allocations: 0 / 322.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/0.1413, allocations: 70.03 kB / 322.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.1416, allocations: 78 kB / 322.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.1421, allocations: 308.2 kB / 322.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.1422, allocations: 72.34 kB / 322.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.1422, allocations: 24.41 kB / 322.8 MB, free: 12.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.1423, allocations: 95.34 kB / 322.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1423, allocations: 0 / 322.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of Templates: time 0.01483/0.1572, allocations: 13.89 MB / 336.8 MB, free: 14.23 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0220064260065556]