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.002008/0.002008, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 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.001892/0.001892, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.0879/0.0879, allocations: 7.517 MB / 267.1 MB, free: 6.031 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 3.085e-06/3.085e-06, allocations: 0 / 337.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.693e-05/5.001e-05, allocations: 4.562 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02267/0.02272, allocations: 16.58 MB / 354.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007041/0.02976, allocations: 4.327 MB / 358.8 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.02989, allocations: 4 kB / 358.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.03103, allocations: 294.4 kB / 359.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.03344, allocations: 0.7356 MB / 359.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007018/0.04046, allocations: 1.916 MB / 361.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.04089, allocations: 179 kB / 361.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.04096, allocations: 5.312 kB / 361.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004674/0.04143, allocations: 135.4 kB / 362.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.04156, allocations: 35.91 kB / 362.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.04158, allocations: 4 kB / 362.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007372/0.04896, allocations: 2.615 MB / 364.7 MB, free: 452 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.04901, allocations: 15.91 kB / 364.7 MB, free: 436 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.04916, allocations: 47.81 kB / 364.8 MB, free: 388 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004697/0.05386, allocations: 1.547 MB / 366.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.05386, allocations: 0 / 366.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.05386, allocations: 0 / 366.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.05387, allocations: 0 / 366.3 MB, free: 14.83 MB / 298.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.001297/0.05516, allocations: 0.5427 MB / 366.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.0552, allocations: 12.62 kB / 366.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.05528, allocations: 15.95 kB / 366.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.05543, allocations: 124.9 kB / 367 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.05544, allocations: 4 kB / 367 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.05546, allocations: 8 kB / 367 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.05611, allocations: 202.5 kB / 367.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.05612, allocations: 0 / 367.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.05613, allocations: 0 / 367.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.05616, allocations: 15.97 kB / 367.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.05667, allocations: 295.6 kB / 367.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.05746, allocations: 462.8 kB / 368 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.05785, allocations: 214.4 kB / 368.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.05812, allocations: 160.9 kB / 368.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003912/0.06203, allocations: 0.8139 MB / 369.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.06208, allocations: 30.56 kB / 369.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 2.385e-06/0.06208, allocations: 0 / 369.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001213/0.0633, allocations: 0.5995 MB / 369.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.06335, allocations: 55.34 kB / 369.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.06347, allocations: 109.8 kB / 370 MB, free: 11.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.0635, allocations: 25.7 kB / 370 MB, free: 11.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.06357, allocations: 88.8 kB / 370.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.0637, allocations: 118.9 kB / 370.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.06378, allocations: 37.69 kB / 370.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.06399, allocations: 326.8 kB / 370.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.06425, allocations: 147.9 kB / 370.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.06451, allocations: 155.9 kB / 370.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.06507, allocations: 335.1 kB / 371.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.06507, allocations: 0 / 371.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000675/0.06575, allocations: 386.5 kB / 371.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.06577, allocations: 11.94 kB / 371.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.06578, allocations: 0 / 371.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.0658, allocations: 0 / 371.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.06596, allocations: 31.97 kB / 371.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.06597, allocations: 3.938 kB / 371.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.06607, allocations: 23.84 kB / 371.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.06609, allocations: 7.984 kB / 371.6 MB, free: 9.355 MB / 298.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 0.0001302/0.06622, allocations: 113.8 kB / 371.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.06627, allocations: 19.91 kB / 371.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008075/0.06708, allocations: 431.3 kB / 372.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.06709, allocations: 8 kB / 372.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.0671, allocations: 0 / 372.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.0671, allocations: 3.938 kB / 372.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.06746, allocations: 234.4 kB / 372.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.06747, allocations: 0 / 372.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.0676, allocations: 27.97 kB / 372.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.0676, allocations: 0 / 372.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.06761, allocations: 3.938 kB / 372.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.06761, allocations: 0 / 372.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.06762, allocations: 4.25 kB / 372.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.06839, allocations: 0.4924 MB / 372.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.06848, allocations: 35.81 kB / 373 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.0685, allocations: 4 kB / 373 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.06861, allocations: 11.98 kB / 373 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.06867, allocations: 7.984 kB / 373 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.06868, allocations: 4 kB / 373 MB, free: 7.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.991e-05/0.06877, allocations: 91.2 kB / 373.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06877, allocations: 0 / 373.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001676/0.07045, allocations: 422.6 kB / 373.5 MB, free: 7.402 MB / 298.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.002182/0.07263, allocations: 0.698 MB / 374.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.07369, allocations: 335.8 kB / 374.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.07369, allocations: 0 / 374.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.074, allocations: 167.9 kB / 374.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.07473, allocations: 75.78 kB / 374.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/0.07545, allocations: 357.1 kB / 375.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.07558, allocations: 102.3 kB / 375.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.07569, allocations: 16.25 kB / 375.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.07574, allocations: 16.5 kB / 375.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of SimCode: time 1.413e-06/0.07574, allocations: 0 / 375.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of Templates: time 0.02514/0.1009, allocations: 11.87 MB / 387.1 MB, free: 9.816 MB / 314.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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3793004479957744]