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.007134/0.007134, allocations: 100.9 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.001752/0.001752, allocations: 197.9 kB / 16.68 MB, free: 5.953 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.491/1.491, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.09468/0.09468, allocations: 9.1 MB / 279 MB, free: 12.07 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.001345/0.001345, allocations: 63.89 kB / 387.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2955, allocations: 48.15 MB / 435.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02048/0.316, allocations: 18.23 MB / 453.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004809/0.3209, allocations: 4.892 MB / 458.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.321, allocations: 3.938 kB / 458.7 MB, free: 6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009772/0.322, allocations: 361.5 kB / 459.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.3243, allocations: 0.7171 MB / 459.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00496/0.3292, allocations: 1.902 MB / 461.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.3295, allocations: 176.4 kB / 461.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.3296, allocations: 7.062 kB / 461.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.3298, allocations: 96.92 kB / 462 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.33, allocations: 55.45 kB / 462 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.33, allocations: 3.531 kB / 462 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006661/0.3366, allocations: 3.416 MB / 465.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.3367, allocations: 23.42 kB / 465.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.3369, allocations: 54.42 kB / 465.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.3402, allocations: 1.458 MB / 467 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3403, allocations: 0 / 467 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3403, allocations: 5.406 kB / 467 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3403, allocations: 0 / 467 MB, free: 0.8828 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.001092/0.3414, allocations: 0.6033 MB / 467.6 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3414, allocations: 8.969 kB / 467.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.3415, allocations: 14.25 kB / 467.6 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3417, allocations: 182 kB / 467.8 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3417, allocations: 6.438 kB / 467.8 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3417, allocations: 8.344 kB / 467.8 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.3422, allocations: 193.4 kB / 468 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3422, allocations: 0 / 468 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3422, allocations: 1.438 kB / 468 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3422, allocations: 14.73 kB / 468 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.3427, allocations: 266.6 kB / 468.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.3434, allocations: 0.5174 MB / 468.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.3437, allocations: 254.4 kB / 469 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.344, allocations: 189 kB / 469.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006404/0.3504, allocations: 7.219 MB / 476.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3504, allocations: 38.5 kB / 476.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.973e-06/0.3505, allocations: 0 / 476.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008646/0.3513, allocations: 0.5738 MB / 477.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3514, allocations: 55.41 kB / 477.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.3515, allocations: 105.8 kB / 477.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3515, allocations: 29.7 kB / 477.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.3515, allocations: 88.73 kB / 477.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.3516, allocations: 110.3 kB / 477.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.3517, allocations: 37.7 kB / 477.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3518, allocations: 326.8 kB / 477.8 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.352, allocations: 143.9 kB / 477.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.3522, allocations: 143.8 kB / 478.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.3527, allocations: 329.8 kB / 478.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3527, allocations: 0 / 478.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004955/0.3532, allocations: 378.5 kB / 478.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3532, allocations: 7.938 kB / 478.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3532, allocations: 0 / 478.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3532, allocations: 0 / 478.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3534, allocations: 23.98 kB / 478.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3534, allocations: 3.938 kB / 478.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3535, allocations: 19.83 kB / 478.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3535, allocations: 8 kB / 478.8 MB, free: 3.637 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 8.278e-05/0.3536, allocations: 129.7 kB / 479 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.3536, allocations: 15.75 kB / 479 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/0.3543, allocations: 412.3 kB / 479.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.3543, allocations: 8 kB / 479.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3543, allocations: 7.922 kB / 479.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3543, allocations: 0 / 479.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.3547, allocations: 290.5 kB / 479.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3547, allocations: 4 kB / 479.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.3548, allocations: 27.97 kB / 479.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3548, allocations: 3.938 kB / 479.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3548, allocations: 8 kB / 479.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3548, allocations: 0 / 479.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3548, allocations: 256 / 479.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.3554, allocations: 480.1 kB / 480.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.3555, allocations: 104.8 kB / 480.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3555, allocations: 11.94 kB / 480.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3556, allocations: 11.98 kB / 480.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.3557, allocations: 7.984 kB / 480.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3557, allocations: 4 kB / 480.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.3557, allocations: 87.27 kB / 480.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3557, allocations: 3.938 kB / 480.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001236/0.357, allocations: 419.7 kB / 480.8 MB, free: 1.543 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.001702/0.3587, allocations: 0.6431 MB / 481.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.3593, allocations: 363.7 kB / 481.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3593, allocations: 0 / 481.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.3595, allocations: 207.9 kB / 482 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.3601, allocations: 71.84 kB / 482.1 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.3606, allocations: 357.5 kB / 482.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3608, allocations: 0.7127 MB / 483.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.752e-05/0.3609, allocations: 17.17 kB / 483.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.361, allocations: 19.44 kB / 483.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.361, allocations: 4 kB / 483.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01753/0.3785, allocations: 11.72 MB / 494.9 MB, free: 3.414 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)