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.0107/0.0107, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.0023/0.0023, allocations: 187.8 kB / 16.67 MB, free: 5.973 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0836/0.0836, allocations: 9.092 MB / 279 MB, free: 12.05 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.001457/0.001457, allocations: 72.45 kB / 387.5 MB, free: 8.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3619, allocations: 48.15 MB / 435.6 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02284/0.3848, allocations: 18.22 MB / 453.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005201/0.39, allocations: 4.907 MB / 458.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.3901, allocations: 3.938 kB / 458.7 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.3912, allocations: 317.2 kB / 459 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.3938, allocations: 0.6941 MB / 459.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005983/0.3998, allocations: 1.813 MB / 461.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.4001, allocations: 175.2 kB / 461.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.4002, allocations: 7.031 kB / 461.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.4005, allocations: 93.67 kB / 461.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.4006, allocations: 54.61 kB / 461.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.4006, allocations: 3.438 kB / 461.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005996/0.4066, allocations: 3.412 MB / 465.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.4067, allocations: 19.17 kB / 465.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.541e-05/0.4068, allocations: 58.48 kB / 465.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.4096, allocations: 1.46 MB / 466.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4096, allocations: 0 / 466.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4097, allocations: 0 / 466.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4097, allocations: 0 / 466.8 MB, free: 0.9844 MB / 334.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.001185/0.4109, allocations: 0.6156 MB / 467.4 MB, free: 448 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.4109, allocations: 10.03 kB / 467.5 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.411, allocations: 13.31 kB / 467.5 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4112, allocations: 173.8 kB / 467.6 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4112, allocations: 6.797 kB / 467.6 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.4112, allocations: 8 kB / 467.6 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.4116, allocations: 197.7 kB / 467.8 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4116, allocations: 4 kB / 467.8 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4116, allocations: 5.219 kB / 467.9 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4116, allocations: 6.328 kB / 467.9 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.4121, allocations: 271.2 kB / 468.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.4129, allocations: 0.5178 MB / 468.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.4132, allocations: 250.5 kB / 468.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.4135, allocations: 193 kB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006924/0.4204, allocations: 7.219 MB / 476.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4204, allocations: 30.56 kB / 476.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.943e-06/0.4205, allocations: 0 / 476.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008143/0.4213, allocations: 0.5737 MB / 476.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.4213, allocations: 59.41 kB / 477 MB, free: 5.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.4214, allocations: 105.8 kB / 477.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.4214, allocations: 29.7 kB / 477.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.4215, allocations: 88.73 kB / 477.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.4216, allocations: 114.3 kB / 477.3 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.4216, allocations: 33.7 kB / 477.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4217, allocations: 326.8 kB / 477.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.4219, allocations: 143.9 kB / 477.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.4221, allocations: 155.7 kB / 477.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.4225, allocations: 317.9 kB / 478.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4225, allocations: 0 / 478.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004876/0.423, allocations: 374.5 kB / 478.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.4231, allocations: 11.94 kB / 478.6 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4231, allocations: 4 kB / 478.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4231, allocations: 0 / 478.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4232, allocations: 27.98 kB / 478.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4233, allocations: 0 / 478.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.4233, allocations: 19.83 kB / 478.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.4234, allocations: 4 kB / 478.7 MB, free: 3.766 MB / 350.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.0001079/0.4235, allocations: 133.6 kB / 478.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.4235, allocations: 15.75 kB / 478.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.4242, allocations: 412.3 kB / 479.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4242, allocations: 7.984 kB / 479.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4242, allocations: 0 / 479.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4242, allocations: 0 / 479.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.4245, allocations: 294.5 kB / 479.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4245, allocations: 0 / 479.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4246, allocations: 27.92 kB / 479.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4246, allocations: 3.938 kB / 479.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.4246, allocations: 11.98 kB / 479.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4246, allocations: 4.25 kB / 479.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4246, allocations: 0 / 479.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.4252, allocations: 472.2 kB / 480 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/0.4253, allocations: 112.8 kB / 480.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.4253, allocations: 7.938 kB / 480.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.4254, allocations: 12 kB / 480.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.4255, allocations: 7.984 kB / 480.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4255, allocations: 4 kB / 480.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.809e-05/0.4255, allocations: 87.27 kB / 480.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4255, allocations: 3.938 kB / 480.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00119/0.4267, allocations: 423.6 kB / 480.7 MB, free: 1.668 MB / 350.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.001452/0.4282, allocations: 0.6353 MB / 481.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005951/0.4288, allocations: 367.7 kB / 481.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4288, allocations: 0 / 481.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.4291, allocations: 203.9 kB / 481.9 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.4296, allocations: 63.92 kB / 481.9 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.4303, allocations: 361.6 kB / 482.3 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.4307, allocations: 0.7128 MB / 483 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.633e-05/0.4308, allocations: 25.12 kB / 483 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.4309, allocations: 15.44 kB / 483 MB, free: 15.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4309, allocations: 0 / 483 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Templates: time 0.01947/0.4503, allocations: 11.73 MB / 494.8 MB, free: 3.543 MB / 366.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1)