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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 106.2 kB / 16.36 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 192.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06808/0.06808, allocations: 9.092 MB / 279.6 MB, free: 2.957 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 63.91 kB / 339.5 MB, free: 6.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2588, allocations: 48.15 MB / 387.6 MB, free: 51.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02077/0.2796, allocations: 18.22 MB / 405.8 MB, free: 38.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.2831, allocations: 4.903 MB / 410.7 MB, free: 34.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.2832, allocations: 1.188 kB / 410.7 MB, free: 34.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008888/0.2841, allocations: 324.6 kB / 411.1 MB, free: 33.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.2859, allocations: 0.7015 MB / 411.8 MB, free: 33.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004188/0.2901, allocations: 1.796 MB / 413.6 MB, free: 32.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.2904, allocations: 175.9 kB / 413.7 MB, free: 32.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.2904, allocations: 7.844 kB / 413.7 MB, free: 32.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.2906, allocations: 95.61 kB / 413.8 MB, free: 32.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.108e-05/0.2907, allocations: 51.98 kB / 413.9 MB, free: 32.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2907, allocations: 6.938 kB / 413.9 MB, free: 32.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.2954, allocations: 3.415 MB / 417.3 MB, free: 29.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.2954, allocations: 15.88 kB / 417.3 MB, free: 29.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.054e-05/0.2955, allocations: 59.72 kB / 417.4 MB, free: 29.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.2977, allocations: 1.458 MB / 418.8 MB, free: 28.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2977, allocations: 4 kB / 418.8 MB, free: 28.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2978, allocations: 8 kB / 418.8 MB, free: 28.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.2978, allocations: 3.938 kB / 418.9 MB, free: 28.31 MB / 318.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.0007396/0.2985, allocations: 0.601 MB / 419.5 MB, free: 27.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2986, allocations: 8.031 kB / 419.5 MB, free: 27.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.2986, allocations: 11.81 kB / 419.5 MB, free: 27.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2987, allocations: 178.8 kB / 419.6 MB, free: 27.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2987, allocations: 8 kB / 419.7 MB, free: 27.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.2988, allocations: 4 kB / 419.7 MB, free: 27.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.299, allocations: 198.5 kB / 419.9 MB, free: 27.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2991, allocations: 0 / 419.9 MB, free: 27.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2991, allocations: 0 / 419.9 MB, free: 27.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2991, allocations: 11.98 kB / 419.9 MB, free: 27.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.2994, allocations: 271.8 kB / 420.1 MB, free: 26.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.2999, allocations: 0.5104 MB / 420.6 MB, free: 26.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.3002, allocations: 246.8 kB / 420.9 MB, free: 26.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.3003, allocations: 196.9 kB / 421.1 MB, free: 25.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004423/0.3048, allocations: 7.223 MB / 428.3 MB, free: 17.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.3048, allocations: 30.56 kB / 428.3 MB, free: 17.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.405e-06/0.3048, allocations: 3.938 kB / 428.3 MB, free: 17.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006847/0.3055, allocations: 0.5736 MB / 428.9 MB, free: 16.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.3055, allocations: 55.41 kB / 429 MB, free: 16.44 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.3056, allocations: 107.8 kB / 429.1 MB, free: 16.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.3056, allocations: 29.7 kB / 429.1 MB, free: 16.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.3057, allocations: 92.72 kB / 429.2 MB, free: 16.19 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.3057, allocations: 114.2 kB / 429.3 MB, free: 16.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.3058, allocations: 33.7 kB / 429.3 MB, free: 16.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.3058, allocations: 330.8 kB / 429.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.306, allocations: 143.9 kB / 429.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3062, allocations: 147.8 kB / 429.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3065, allocations: 317.9 kB / 430.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.3065, allocations: 0 / 430.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003769/0.3069, allocations: 374.6 kB / 430.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3069, allocations: 11.94 kB / 430.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3069, allocations: 0 / 430.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3069, allocations: 3.984 kB / 430.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.307, allocations: 27.92 kB / 430.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3071, allocations: 0 / 430.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.3071, allocations: 23.73 kB / 430.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3071, allocations: 4 kB / 430.7 MB, free: 14.66 MB / 318.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 6.543e-05/0.3072, allocations: 125.8 kB / 430.8 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.3073, allocations: 11.84 kB / 430.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/0.3077, allocations: 424 kB / 431.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.3078, allocations: 12.92 kB / 431.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3078, allocations: 0 / 431.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3078, allocations: 0 / 431.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.308, allocations: 290.4 kB / 431.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.308, allocations: 0 / 431.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.3081, allocations: 27.98 kB / 431.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3081, allocations: 3.938 kB / 431.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3081, allocations: 12.55 kB / 431.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3081, allocations: 0 / 431.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3081, allocations: 0 / 431.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.3085, allocations: 476 kB / 432 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.3086, allocations: 114.5 kB / 432.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3086, allocations: 11.88 kB / 432.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.3087, allocations: 8 kB / 432.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.3088, allocations: 7.984 kB / 432.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3088, allocations: 4 kB / 432.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.346e-05/0.3088, allocations: 87.27 kB / 432.3 MB, free: 13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3088, allocations: 0 / 432.3 MB, free: 13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008661/0.3097, allocations: 419.7 kB / 432.7 MB, free: 12.59 MB / 318.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.001164/0.3108, allocations: 0.6314 MB / 433.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.3113, allocations: 359.9 kB / 433.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3113, allocations: 0 / 433.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.3116, allocations: 207.9 kB / 433.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.3121, allocations: 74.44 kB / 433.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.3126, allocations: 362 kB / 434.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.3128, allocations: 0.7127 MB / 435 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.3128, allocations: 27.53 kB / 435 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.3129, allocations: 15.44 kB / 435 MB, free: 10.17 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3129, allocations: 4 kB / 435 MB, free: 10.17 MB / 318.1 MB Notification: Performance of Templates: time 0.01484/0.3277, allocations: 11.69 MB / 446.7 MB, free: 14.55 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.makefile (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 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1)