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.001266/0.001266, allocations: 110.7 kB / 16.41 MB, free: 6.508 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.001143/0.001143, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.298/1.298, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0973/0.0973, allocations: 9.099 MB / 279.7 MB, free: 2.934 MB / 222.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.001379/0.001379, allocations: 73.25 kB / 388.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07478/0.07617, allocations: 48.18 MB / 436.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.017/0.09321, allocations: 18.22 MB / 454.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004242/0.09748, allocations: 4.898 MB / 459.4 MB, free: 412 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.09755, allocations: 4 kB / 459.4 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000744/0.09837, allocations: 322.4 kB / 459.7 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.09988, allocations: 0.6968 MB / 460.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003332/0.1032, allocations: 1.82 MB / 462.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.1034, allocations: 171.1 kB / 462.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.1035, allocations: 9.109 kB / 462.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1037, allocations: 99.45 kB / 462.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.1038, allocations: 55.77 kB / 462.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1038, allocations: 4 kB / 462.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/0.1083, allocations: 3.411 MB / 466 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.1083, allocations: 11.94 kB / 466 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.1084, allocations: 59.66 kB / 466.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.1103, allocations: 1.462 MB / 467.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1103, allocations: 0 / 467.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1103, allocations: 0 / 467.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1103, allocations: 0 / 467.5 MB, free: 8.285 MB / 350.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.000866/0.1112, allocations: 0.6042 MB / 468.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1113, allocations: 8.031 kB / 468.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1113, allocations: 11.81 kB / 468.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1114, allocations: 186.8 kB / 468.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1115, allocations: 8 kB / 468.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1115, allocations: 8 kB / 468.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.1118, allocations: 189.6 kB / 468.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1118, allocations: 0 / 468.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1118, allocations: 4 kB / 468.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1119, allocations: 4 kB / 468.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.1122, allocations: 275.8 kB / 468.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.1129, allocations: 0.5105 MB / 469.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1132, allocations: 254.4 kB / 469.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.1135, allocations: 193 kB / 469.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005952/0.1194, allocations: 7.216 MB / 477 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1195, allocations: 34.56 kB / 477 MB, free: 13.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.794e-06/0.1195, allocations: 0 / 477 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007741/0.1203, allocations: 0.566 MB / 477.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.1203, allocations: 55.41 kB / 477.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.1204, allocations: 105.8 kB / 477.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1204, allocations: 33.7 kB / 477.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.1204, allocations: 84.8 kB / 477.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.1205, allocations: 118.2 kB / 478 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.1206, allocations: 37.7 kB / 478 MB, free: 12.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1207, allocations: 326.8 kB / 478.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1209, allocations: 143.9 kB / 478.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.1211, allocations: 151.8 kB / 478.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.1215, allocations: 321.9 kB / 478.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1215, allocations: 3.984 kB / 478.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004744/0.122, allocations: 370.5 kB / 479.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.122, allocations: 10.03 kB / 479.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.122, allocations: 3.938 kB / 479.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.122, allocations: 3.938 kB / 479.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1222, allocations: 23.98 kB / 479.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1222, allocations: 0 / 479.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.1223, allocations: 27.83 kB / 479.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1223, allocations: 4 kB / 479.4 MB, free: 10.64 MB / 366.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.659e-05/0.1224, allocations: 124.9 kB / 479.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1224, allocations: 11.81 kB / 479.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005799/0.123, allocations: 415.7 kB / 479.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.123, allocations: 4 kB / 479.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.123, allocations: 0 / 479.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.1231, allocations: 116.7 kB / 480 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1231, allocations: 4.25 kB / 480 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1232, allocations: 11.98 kB / 480 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1233, allocations: 15.97 kB / 480 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000531/0.1238, allocations: 446.9 kB / 480.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005439/0.1244, allocations: 0.5433 MB / 481 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002302/0.1246, allocations: 195.8 kB / 481.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.1247, allocations: 79.28 kB / 481.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of Backend: time 4.41e-07/0.1247, allocations: 0 / 481.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.1265, allocations: 0.8179 MB / 482.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005568/0.1271, allocations: 0.6819 MB / 482.8 MB, free: 7.086 MB / 366.1 MB Notification: Performance of Templates: time 0.01668/0.1438, allocations: 11.16 MB / 494 MB, free: 11.93 MB / 382.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)