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.001251/0.001251, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001596/0.001596, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04473/0.04473, allocations: 9.062 MB / 279.4 MB, free: 12.27 MB / 238.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.0007016/0.0007016, allocations: 16.22 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.134, allocations: 49.2 MB / 388.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02601/0.1601, allocations: 15.27 MB / 403.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006717/0.1669, allocations: 4.347 MB / 407.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.1671, allocations: 0 / 407.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1682, allocations: 279 kB / 408.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.1706, allocations: 0.6196 MB / 408.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005336/0.1759, allocations: 1.466 MB / 410.3 MB, free: 2.734 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.1763, allocations: 127.7 kB / 410.4 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.1764, allocations: 5.406 kB / 410.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.1768, allocations: 119.5 kB / 410.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.1769, allocations: 39.8 kB / 410.5 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1769, allocations: 4 kB / 410.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008133/0.185, allocations: 3.116 MB / 413.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.1851, allocations: 19.92 kB / 413.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.1852, allocations: 45.64 kB / 413.7 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.1879, allocations: 0.8264 MB / 414.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1879, allocations: 0 / 414.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.1879, allocations: 4 kB / 414.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1879, allocations: 0 / 414.6 MB, free: 14.42 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.001542/0.1895, allocations: 0.5963 MB / 415.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1895, allocations: 12.03 kB / 415.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.1896, allocations: 15.77 kB / 415.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1898, allocations: 171 kB / 415.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1898, allocations: 12 kB / 415.4 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1899, allocations: 4 kB / 415.4 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.1903, allocations: 197.6 kB / 415.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1903, allocations: 0 / 415.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1903, allocations: 8 kB / 415.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1903, allocations: 0 / 415.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.1907, allocations: 291.7 kB / 415.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/0.1916, allocations: 0.522 MB / 416.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.1919, allocations: 254.5 kB / 416.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006925/0.1989, allocations: 7.239 MB / 423.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1989, allocations: 38.52 kB / 423.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.325e-06/0.1989, allocations: 4 kB / 423.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009812/0.1999, allocations: 0.6604 MB / 424.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2, allocations: 55.41 kB / 424.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/0.2001, allocations: 105.9 kB / 424.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2001, allocations: 25.7 kB / 424.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.2002, allocations: 84.78 kB / 424.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/0.2003, allocations: 114.3 kB / 424.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.2003, allocations: 4 kB / 424.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2004, allocations: 318.8 kB / 425.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2006, allocations: 155.9 kB / 425.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.2008, allocations: 156.8 kB / 425.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.201, allocations: 156.7 kB / 425.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.201, allocations: 0 / 425.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004903/0.2015, allocations: 378.4 kB / 426.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2016, allocations: 7.953 kB / 426.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.2016, allocations: 3.984 kB / 426.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2016, allocations: 0 / 426.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2018, allocations: 31.92 kB / 426.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2018, allocations: 0 / 426.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.356e-05/0.2019, allocations: 35.7 kB / 426.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.2019, allocations: 4 kB / 426.2 MB, free: 0.9883 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.202, allocations: 117.8 kB / 426.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.202, allocations: 11.81 kB / 426.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.2027, allocations: 447.6 kB / 426.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.2027, allocations: 256 / 426.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2027, allocations: 3.938 kB / 426.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2027, allocations: 11.98 kB / 426.7 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.2031, allocations: 286.6 kB / 427 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2031, allocations: 3.984 kB / 427 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.2032, allocations: 27.98 kB / 427.1 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2032, allocations: 0 / 427.1 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.2032, allocations: 0 / 427.1 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.2032, allocations: 7.953 kB / 427.1 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2032, allocations: 0 / 427.1 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2298/0.4331, allocations: 477.8 kB / 427.5 MB, free: 47.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.4332, allocations: 107.2 kB / 427.6 MB, free: 47.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.4332, allocations: 3.484 kB / 427.6 MB, free: 47.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.4334, allocations: 13.08 kB / 427.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.4334, allocations: 12.2 kB / 427.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.4334, allocations: 5.266 kB / 427.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.4335, allocations: 84.48 kB / 427.8 MB, free: 47.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4335, allocations: 0 / 427.8 MB, free: 47.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001234/0.4347, allocations: 418 kB / 428.2 MB, free: 47.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00163/0.4364, allocations: 0.6338 MB / 428.8 MB, free: 46.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006491/0.437, allocations: 379 kB / 429.2 MB, free: 46.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4371, allocations: 0.9688 kB / 429.2 MB, free: 46.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.4374, allocations: 205.9 kB / 429.4 MB, free: 46.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.4379, allocations: 70.33 kB / 429.4 MB, free: 46.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/0.4386, allocations: 437.2 kB / 429.9 MB, free: 46.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.4388, allocations: 0.7179 MB / 430.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.482e-05/0.4389, allocations: 22.14 kB / 430.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.4389, allocations: 25.97 kB / 430.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4389, allocations: 0 / 430.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of Templates: time 0.02285/0.4618, allocations: 11.38 MB / 442 MB, free: 42 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: