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.002154/0.002154, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.00209/0.002089, allocations: 191.2 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.08603/0.08603, allocations: 9.094 MB / 279.6 MB, free: 2.98 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.00224/0.00224, allocations: 63.91 kB / 339.5 MB, free: 7.004 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5055, allocations: 48.15 MB / 387.6 MB, free: 51.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.03433/0.54, allocations: 18.22 MB / 405.9 MB, free: 38.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006578/0.5467, allocations: 4.906 MB / 410.8 MB, free: 33.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.5469, allocations: 0 / 410.8 MB, free: 33.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.5486, allocations: 324 kB / 411.1 MB, free: 33.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.5519, allocations: 0.6954 MB / 411.8 MB, free: 33.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007475/0.5594, allocations: 1.793 MB / 413.6 MB, free: 32.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.5599, allocations: 178.8 kB / 413.7 MB, free: 32.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.56, allocations: 12.11 kB / 413.8 MB, free: 32.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.5604, allocations: 92.3 kB / 413.8 MB, free: 32.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.5605, allocations: 51.41 kB / 413.9 MB, free: 31.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.5605, allocations: 3.469 kB / 413.9 MB, free: 31.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009263/0.5698, allocations: 3.417 MB / 417.3 MB, free: 29.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.5699, allocations: 19.91 kB / 417.3 MB, free: 29.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.5701, allocations: 55.69 kB / 417.4 MB, free: 29.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.5743, allocations: 1.465 MB / 418.9 MB, free: 28.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.5743, allocations: 0 / 418.9 MB, free: 28.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.458e-06/0.5743, allocations: 0 / 418.9 MB, free: 28.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.5743, allocations: 0 / 418.9 MB, free: 28.21 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.001997/0.5764, allocations: 0.6049 MB / 419.5 MB, free: 27.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.5764, allocations: 8.031 kB / 419.5 MB, free: 27.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.37e-05/0.5765, allocations: 15.81 kB / 419.5 MB, free: 27.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.5768, allocations: 180 kB / 419.7 MB, free: 27.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.5768, allocations: 4 kB / 419.7 MB, free: 27.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.5768, allocations: 7.938 kB / 419.7 MB, free: 27.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.5772, allocations: 193.6 kB / 419.9 MB, free: 27.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5773, allocations: 0 / 419.9 MB, free: 27.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.5773, allocations: 4 kB / 419.9 MB, free: 27.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.5773, allocations: 11.98 kB / 419.9 MB, free: 27.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.5777, allocations: 275.8 kB / 420.1 MB, free: 26.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.5785, allocations: 0.5143 MB / 420.7 MB, free: 26.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.5789, allocations: 254.7 kB / 420.9 MB, free: 26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.5791, allocations: 198.4 kB / 421.1 MB, free: 25.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007247/0.5864, allocations: 7.219 MB / 428.3 MB, free: 17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.5865, allocations: 34.56 kB / 428.4 MB, free: 16.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.5865, allocations: 0 / 428.4 MB, free: 16.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.000886/0.5874, allocations: 0.5736 MB / 428.9 MB, free: 16.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.5874, allocations: 55.41 kB / 429 MB, free: 16.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.5875, allocations: 105.8 kB / 429.1 MB, free: 16.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.5876, allocations: 25.7 kB / 429.1 MB, free: 16.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.5877, allocations: 88.78 kB / 429.2 MB, free: 16.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.07e-05/0.5877, allocations: 114.2 kB / 429.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.5878, allocations: 37.7 kB / 429.3 MB, free: 15.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.588, allocations: 322.8 kB / 429.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.5882, allocations: 151.9 kB / 429.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.5884, allocations: 147.8 kB / 430 MB, free: 15.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.5888, allocations: 321.9 kB / 430.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.5888, allocations: 0 / 430.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000447/0.5892, allocations: 366.6 kB / 430.6 MB, free: 14.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.5893, allocations: 7.938 kB / 430.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5893, allocations: 4 kB / 430.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.5893, allocations: 1.625 kB / 430.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.5895, allocations: 31.91 kB / 430.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5895, allocations: 4 kB / 430.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.5896, allocations: 15.75 kB / 430.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.5896, allocations: 8 kB / 430.7 MB, free: 14.55 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 0.0001057/0.5897, allocations: 121.8 kB / 430.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.5897, allocations: 11.84 kB / 430.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006262/0.5904, allocations: 426.1 kB / 431.2 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5904, allocations: 11.92 kB / 431.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5904, allocations: 3.938 kB / 431.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5904, allocations: 4 kB / 431.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.5907, allocations: 282.4 kB / 431.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5907, allocations: 0 / 431.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-05/0.5908, allocations: 27.97 kB / 431.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.5908, allocations: 11.12 kB / 431.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.5909, allocations: 8 kB / 431.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5909, allocations: 0 / 431.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5909, allocations: 0 / 431.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.5914, allocations: 476 kB / 432 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.5915, allocations: 108.9 kB / 432.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.5916, allocations: 3.938 kB / 432.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.5917, allocations: 15.98 kB / 432.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.5917, allocations: 7.984 kB / 432.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5917, allocations: 4 kB / 432.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.553e-05/0.5918, allocations: 83.28 kB / 432.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5918, allocations: 0 / 432.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001371/0.5932, allocations: 423.7 kB / 432.7 MB, free: 12.47 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.001467/0.5947, allocations: 0.6461 MB / 433.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000572/0.5953, allocations: 359.9 kB / 433.7 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5953, allocations: 3.938 kB / 433.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.5955, allocations: 203.9 kB / 433.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.5961, allocations: 65.19 kB / 433.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.5968, allocations: 363.9 kB / 434.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.5971, allocations: 0.7127 MB / 435 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.607e-05/0.5972, allocations: 18.06 kB / 435 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.5972, allocations: 19.42 kB / 435 MB, free: 10.05 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5972, allocations: 0 / 435 MB, free: 10.05 MB / 318.1 MB Notification: Performance of Templates: time 0.02045/0.6177, allocations: 11.69 MB / 446.7 MB, free: 14.43 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 cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1)