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.001113/0.001113, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.574/1.574, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.08459/0.08459, allocations: 9.093 MB / 278.9 MB, free: 12.19 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.001826/0.001826, allocations: 68.42 kB / 338 MB, free: 25.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1255, allocations: 48.17 MB / 386.2 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02348/0.149, allocations: 18.23 MB / 404.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004931/0.154, allocations: 4.902 MB / 409.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1542, allocations: 0 / 409.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.1554, allocations: 330.6 kB / 409.6 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.1576, allocations: 0.6891 MB / 410.3 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005202/0.1628, allocations: 1.805 MB / 412.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.1631, allocations: 175 kB / 412.3 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.974e-05/0.1632, allocations: 17.05 kB / 412.3 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.1634, allocations: 91.52 kB / 412.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.1635, allocations: 51.72 kB / 412.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1636, allocations: 8 kB / 412.5 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005821/0.1694, allocations: 3.259 MB / 415.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.1694, allocations: 15.94 kB / 415.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1696, allocations: 55.67 kB / 415.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.1726, allocations: 1.454 MB / 417.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1726, allocations: 3.984 kB / 417.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1726, allocations: 4 kB / 417.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.1726, allocations: 0 / 417.3 MB, free: 10.06 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.0009845/0.1736, allocations: 0.6003 MB / 417.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1737, allocations: 8.031 kB / 417.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.1737, allocations: 15.81 kB / 417.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1739, allocations: 182.9 kB / 418.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1739, allocations: 4 kB / 418.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1739, allocations: 8 kB / 418.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.1743, allocations: 197.5 kB / 418.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1743, allocations: 3.938 kB / 418.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1743, allocations: 4 kB / 418.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1743, allocations: 4 kB / 418.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.1747, allocations: 271.8 kB / 418.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.1754, allocations: 0.5181 MB / 419.1 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.1757, allocations: 258.3 kB / 419.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.176, allocations: 193 kB / 419.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2369/0.4129, allocations: 7.215 MB / 426.7 MB, free: 47.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.413, allocations: 36.72 kB / 426.7 MB, free: 47.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.927e-06/0.413, allocations: 2.875 kB / 426.8 MB, free: 47.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001071/0.4141, allocations: 0.5571 MB / 427.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.4141, allocations: 56.44 kB / 427.4 MB, free: 47.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.4142, allocations: 106.1 kB / 427.5 MB, free: 47.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.4142, allocations: 28.28 kB / 427.5 MB, free: 47.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.4143, allocations: 92.08 kB / 427.6 MB, free: 47.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.996e-05/0.4144, allocations: 116 kB / 427.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.4144, allocations: 36.33 kB / 427.7 MB, free: 47.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.4145, allocations: 324.3 kB / 428.1 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.4147, allocations: 147.8 kB / 428.2 MB, free: 46.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.415, allocations: 148.8 kB / 428.3 MB, free: 46.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.4155, allocations: 323.5 kB / 428.7 MB, free: 46.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4155, allocations: 0 / 428.7 MB, free: 46.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005257/0.416, allocations: 370.7 kB / 429 MB, free: 46.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4161, allocations: 9.609 kB / 429 MB, free: 46.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4161, allocations: 0 / 429 MB, free: 46.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.4161, allocations: 6.156 kB / 429 MB, free: 46.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.4162, allocations: 28.47 kB / 429.1 MB, free: 46.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4163, allocations: 1.719 kB / 429.1 MB, free: 46.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.4163, allocations: 20.8 kB / 429.1 MB, free: 46.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.4164, allocations: 3.094 kB / 429.1 MB, free: 46.65 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 7.041e-05/0.4164, allocations: 129.8 kB / 429.2 MB, free: 46.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.4165, allocations: 13.19 kB / 429.2 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/0.4171, allocations: 419.4 kB / 429.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.4172, allocations: 7.031 kB / 429.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4172, allocations: 2.25 kB / 429.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4172, allocations: 1.125 kB / 429.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.4175, allocations: 296.7 kB / 429.9 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4175, allocations: 1.812 kB / 429.9 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4176, allocations: 29.03 kB / 430 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4176, allocations: 2.438 kB / 430 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4176, allocations: 7.5 kB / 430 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4176, allocations: 1.312 kB / 430 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4176, allocations: 1.812 kB / 430 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.4182, allocations: 469.6 kB / 430.4 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.4183, allocations: 110.7 kB / 430.5 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.4183, allocations: 5.516 kB / 430.6 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.4184, allocations: 11.14 kB / 430.6 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.4184, allocations: 12.34 kB / 430.6 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.4185, allocations: 4.734 kB / 430.6 MB, free: 45.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.4185, allocations: 86.39 kB / 430.7 MB, free: 45.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4185, allocations: 0 / 430.7 MB, free: 45.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001291/0.4198, allocations: 420.9 kB / 431.1 MB, free: 45.57 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.001441/0.4212, allocations: 0.6366 MB / 431.7 MB, free: 45.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006177/0.4219, allocations: 372.5 kB / 432.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4219, allocations: 0 / 432.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.4221, allocations: 206.7 kB / 432.3 MB, free: 45.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.4227, allocations: 75.8 kB / 432.4 MB, free: 45.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.4233, allocations: 356.3 kB / 432.7 MB, free: 44.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.4235, allocations: 0.7146 MB / 433.4 MB, free: 44.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.23e-05/0.4236, allocations: 29.08 kB / 433.4 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.4237, allocations: 19.91 kB / 433.5 MB, free: 44.2 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4237, allocations: 4.953 kB / 433.5 MB, free: 44.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01876/0.4424, allocations: 11.69 MB / 445.2 MB, free: 39.01 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)