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.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001128/0.001128, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.383/1.383, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07239/0.07239, allocations: 9.08 MB / 278.5 MB, free: 12.35 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.001309/0.001309, allocations: 67.91 kB / 337.5 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 48.16 MB / 385.7 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02155/0.135, allocations: 18.2 MB / 403.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005382/0.1405, allocations: 4.883 MB / 408.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1407, allocations: 0 / 408.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.1423, allocations: 302.9 kB / 409.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.145, allocations: 0.6539 MB / 409.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005633/0.1506, allocations: 1.634 MB / 411.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.151, allocations: 179.1 kB / 411.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.974e-05/0.151, allocations: 13.06 kB / 411.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.1513, allocations: 95.52 kB / 411.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.1514, allocations: 51.72 kB / 411.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1514, allocations: 4 kB / 411.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005504/0.1569, allocations: 3.325 MB / 415 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.157, allocations: 7.938 kB / 415 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1571, allocations: 63.66 kB / 415.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.1603, allocations: 1.462 MB / 416.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1603, allocations: 0 / 416.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1603, allocations: 0 / 416.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1603, allocations: 0 / 416.5 MB, free: 10.61 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.001072/0.1614, allocations: 0.608 MB / 417.2 MB, free: 9.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1615, allocations: 8.031 kB / 417.2 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.1615, allocations: 11.81 kB / 417.2 MB, free: 9.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1617, allocations: 174.9 kB / 417.3 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1617, allocations: 4 kB / 417.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.1617, allocations: 12 kB / 417.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.1621, allocations: 193.5 kB / 417.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1621, allocations: 0 / 417.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1621, allocations: 4 kB / 417.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1622, allocations: 7.984 kB / 417.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.1625, allocations: 271.8 kB / 417.8 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.1632, allocations: 0.5181 MB / 418.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.1635, allocations: 254.4 kB / 418.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.1638, allocations: 196.9 kB / 418.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2384/0.4021, allocations: 7.22 MB / 426 MB, free: 47.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.4022, allocations: 38.47 kB / 426 MB, free: 47.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.855e-06/0.4022, allocations: 3.188 kB / 426 MB, free: 47.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009614/0.4032, allocations: 0.5597 MB / 426.6 MB, free: 47.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.4032, allocations: 54.25 kB / 426.7 MB, free: 47.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.4033, allocations: 100.9 kB / 426.8 MB, free: 47.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.4033, allocations: 34.02 kB / 426.8 MB, free: 47.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.4034, allocations: 84.98 kB / 426.9 MB, free: 47.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.4035, allocations: 113.8 kB / 427 MB, free: 47.51 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.4035, allocations: 36.73 kB / 427 MB, free: 47.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.4036, allocations: 324.7 kB / 427.3 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.4038, allocations: 147.1 kB / 427.5 MB, free: 47.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.404, allocations: 147.5 kB / 427.6 MB, free: 47.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.4045, allocations: 331.1 kB / 428 MB, free: 47.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4045, allocations: 0.7188 kB / 428 MB, free: 47.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005049/0.405, allocations: 371.6 kB / 428.3 MB, free: 46.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.405, allocations: 8.125 kB / 428.3 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4051, allocations: 1.094 kB / 428.3 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4051, allocations: 1.812 kB / 428.3 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4052, allocations: 25.91 kB / 428.4 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.4052, allocations: 1.438 kB / 428.4 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.4053, allocations: 23.33 kB / 428.4 MB, free: 46.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4053, allocations: 4.672 kB / 428.4 MB, free: 46.95 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.802e-05/0.4054, allocations: 124.7 kB / 428.5 MB, free: 46.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.4054, allocations: 16.67 kB / 428.5 MB, free: 46.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006059/0.406, allocations: 415.3 kB / 428.9 MB, free: 46.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4061, allocations: 4.406 kB / 428.9 MB, free: 46.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4061, allocations: 1.75 kB / 428.9 MB, free: 46.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4061, allocations: 0.6562 kB / 428.9 MB, free: 46.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.4064, allocations: 301.1 kB / 429.2 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4064, allocations: 0 / 429.2 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4065, allocations: 33.31 kB / 429.3 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4065, allocations: 4.953 kB / 429.3 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4065, allocations: 1.812 kB / 429.3 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4065, allocations: 1.656 kB / 429.3 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4065, allocations: 0.9375 kB / 429.3 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.4071, allocations: 481.1 kB / 429.7 MB, free: 46.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.4071, allocations: 108.9 kB / 429.8 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.4072, allocations: 5.656 kB / 429.8 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.4073, allocations: 7.344 kB / 429.9 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.4073, allocations: 11.89 kB / 429.9 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4073, allocations: 3.5 kB / 429.9 MB, free: 45.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.803e-05/0.4074, allocations: 82.28 kB / 429.9 MB, free: 45.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4074, allocations: 3.688 kB / 430 MB, free: 45.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001226/0.4086, allocations: 424.3 kB / 430.4 MB, free: 45.87 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.001501/0.4101, allocations: 0.635 MB / 431 MB, free: 45.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.4107, allocations: 374.1 kB / 431.4 MB, free: 45.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4108, allocations: 1.531 kB / 431.4 MB, free: 45.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.411, allocations: 202.8 kB / 431.6 MB, free: 45.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.4116, allocations: 73.17 kB / 431.6 MB, free: 45.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.4122, allocations: 410.6 kB / 432 MB, free: 45.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.4124, allocations: 0.7106 MB / 432.8 MB, free: 44.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.892e-05/0.4125, allocations: 24.28 kB / 432.8 MB, free: 44.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.4125, allocations: 21.72 kB / 432.8 MB, free: 44.45 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4125, allocations: 0 / 432.8 MB, free: 44.45 MB / 318.1 MB Notification: Performance of Templates: time 0.01769/0.4302, allocations: 11.64 MB / 444.4 MB, free: 39.38 MB / 318.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)