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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 181.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.1024/0.1024, allocations: 9.094 MB / 25.82 MB, free: 3.41 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 233.2 MB, free: 14.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 95.55 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001103, allocations: 55.91 kB / 341.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2466, allocations: 48.16 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01531/0.2619, allocations: 18.47 MB / 407.7 MB, free: 20 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.2652, allocations: 4.954 MB / 412.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.2653, allocations: 4 kB / 412.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000849/0.2662, allocations: 288.8 kB / 412.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.2677, allocations: 0.6231 MB / 413.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.2716, allocations: 1.472 MB / 415 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.2719, allocations: 175.1 kB / 415.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.272, allocations: 9.125 kB / 415.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.2722, allocations: 95.47 kB / 415.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.2723, allocations: 51.77 kB / 415.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2723, allocations: 0 / 415.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004349/0.2767, allocations: 3.122 MB / 418.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.2767, allocations: 7.938 kB / 418.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.2768, allocations: 55.73 kB / 418.5 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.2791, allocations: 1.419 MB / 420 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2792, allocations: 0 / 420 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2792, allocations: 0 / 420 MB, free: 7.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2792, allocations: 3.938 kB / 420 MB, free: 7.703 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.0009611/0.2801, allocations: 0.6003 MB / 420.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2802, allocations: 12.03 kB / 420.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.2803, allocations: 15.81 kB / 420.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2804, allocations: 182.8 kB / 420.8 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2804, allocations: 4 kB / 420.8 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2804, allocations: 8 kB / 420.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.2807, allocations: 193.5 kB / 421 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-06/0.2807, allocations: 0 / 421 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2807, allocations: 8 kB / 421 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2807, allocations: 11.92 kB / 421 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.2811, allocations: 271.9 kB / 421.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.2816, allocations: 0.5182 MB / 421.8 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.2819, allocations: 246.7 kB / 422 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.282, allocations: 204.9 kB / 422.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005422/0.2875, allocations: 7.216 MB / 429.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2875, allocations: 38.56 kB / 429.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 3.997e-06/0.2875, allocations: 3.938 kB / 429.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008785/0.2884, allocations: 0.5679 MB / 430 MB, free: 11.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.2885, allocations: 51.41 kB / 430.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.2886, allocations: 109.8 kB / 430.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2886, allocations: 29.7 kB / 430.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.2887, allocations: 80.8 kB / 430.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.2887, allocations: 118.3 kB / 430.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.2888, allocations: 41.61 kB / 430.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2889, allocations: 322.8 kB / 430.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2891, allocations: 139.9 kB / 430.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.2893, allocations: 152.8 kB / 431.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.2897, allocations: 330 kB / 431.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2897, allocations: 0 / 431.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004719/0.2902, allocations: 362.5 kB / 431.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.2903, allocations: 7.938 kB / 431.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2903, allocations: 0 / 431.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.2903, allocations: 4 kB / 431.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.2904, allocations: 27.98 kB / 431.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2905, allocations: 0 / 431.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.2905, allocations: 23.73 kB / 431.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.2906, allocations: 7.938 kB / 431.8 MB, free: 10.04 MB / 314.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.0001119/0.2907, allocations: 113.8 kB / 431.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.2907, allocations: 15.84 kB / 431.9 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/0.2914, allocations: 435.9 kB / 432.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2914, allocations: 7.984 kB / 432.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2914, allocations: 0 / 432.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2914, allocations: 0 / 432.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.2917, allocations: 286.4 kB / 432.6 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2917, allocations: 7.938 kB / 432.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.796e-05/0.2918, allocations: 31.98 kB / 432.7 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2918, allocations: 3.938 kB / 432.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2919, allocations: 0 / 432.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2919, allocations: 0 / 432.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2919, allocations: 256 / 432.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.293, allocations: 1.225 MB / 433.9 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.293, allocations: 108.9 kB / 434 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2931, allocations: 7.938 kB / 434 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.2932, allocations: 11.98 kB / 434 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2932, allocations: 7.984 kB / 434 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.2932, allocations: 4 kB / 434 MB, free: 7.652 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.015e-05/0.2933, allocations: 87.27 kB / 434.1 MB, free: 7.566 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2933, allocations: 4 kB / 434.1 MB, free: 7.562 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001089/0.2944, allocations: 415.8 kB / 434.5 MB, free: 7.156 MB / 314.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.001431/0.2958, allocations: 0.6313 MB / 435.2 MB, free: 6.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005109/0.2963, allocations: 376 kB / 435.5 MB, free: 6.148 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2963, allocations: 0 / 435.5 MB, free: 6.148 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.2966, allocations: 200.2 kB / 435.7 MB, free: 5.953 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.2971, allocations: 78.39 kB / 435.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.2978, allocations: 0.6158 MB / 436.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.2981, allocations: 0.7208 MB / 437.2 MB, free: 4.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.837e-05/0.2982, allocations: 20.36 kB / 437.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.2982, allocations: 15.44 kB / 437.2 MB, free: 4.445 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2982, allocations: 0 / 437.2 MB, free: 4.445 MB / 314.7 MB Notification: Performance of Templates: time 0.01612/0.3143, allocations: 11.59 MB / 448.8 MB, free: 8.855 MB / 330.7 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1)