Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 111.6 kB / 16.42 MB, free: 6.484 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.001028/0.001028, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04547/0.04547, allocations: 9.104 MB / 279.7 MB, free: 2.965 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.001373/0.001373, allocations: 73.58 kB / 388.1 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07221/0.07359, allocations: 48.17 MB / 436.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01656/0.09017, allocations: 18.08 MB / 454.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009714/0.09993, allocations: 11.08 MB / 465.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.1, allocations: 0 / 465.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.566e-05/0.1001, allocations: 11.86 kB / 465.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008149/0.1009, allocations: 338.2 kB / 465.8 MB, free: 10.02 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.1127, allocations: 5.234 MB / 471 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.1129, allocations: 143.3 kB / 471.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.1129, allocations: 4 kB / 471.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.1131, allocations: 87.5 kB / 471.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.1132, allocations: 47.83 kB / 471.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1133, allocations: 8 kB / 471.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.1252, allocations: 8.106 MB / 479.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.1252, allocations: 11.92 kB / 479.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.1253, allocations: 47.73 kB / 479.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00665/0.132, allocations: 3.399 MB / 482.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.132, allocations: 0 / 482.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.132, allocations: 0 / 482.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.132, allocations: 0 / 482.9 MB, free: 8.914 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00172/0.1337, allocations: 0.803 MB / 483.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1338, allocations: 8.031 kB / 483.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.134, allocations: 15.84 kB / 483.7 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1341, allocations: 178.8 kB / 483.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1341, allocations: 4 kB / 483.9 MB, free: 7.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.1342, allocations: 4 kB / 483.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.1345, allocations: 93.62 kB / 484 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1345, allocations: 0 / 484 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1346, allocations: 4 kB / 484 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1346, allocations: 7.984 kB / 484 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.135, allocations: 115.8 kB / 484.1 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.1355, allocations: 320.7 kB / 484.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.1359, allocations: 110.4 kB / 484.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.1362, allocations: 65.09 kB / 484.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02253/0.1587, allocations: 15.92 MB / 0.4888 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.1588, allocations: 42.5 kB / 0.4888 GB, free: 4.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/0.1588, allocations: 0 / 0.4888 GB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008728/0.1597, allocations: 213.4 kB / 0.489 GB, free: 4.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.1597, allocations: 51.41 kB / 0.4891 GB, free: 3.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1598, allocations: 141.9 kB / 0.4892 GB, free: 3.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1598, allocations: 25.7 kB / 0.4892 GB, free: 3.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.1599, allocations: 88.14 kB / 0.4893 GB, free: 3.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.1599, allocations: 31.55 kB / 0.4893 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.16, allocations: 25.72 kB / 0.4894 GB, free: 3.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1601, allocations: 322.8 kB / 0.4897 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1603, allocations: 43.95 kB / 0.4897 GB, free: 3.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.1605, allocations: 47.95 kB / 0.4898 GB, free: 3.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.1608, allocations: 116.6 kB / 0.4899 GB, free: 3.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1608, allocations: 0 / 0.4899 GB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004206/0.1613, allocations: 153.9 kB / 0.49 GB, free: 2.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1613, allocations: 15.94 kB / 0.49 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1613, allocations: 0 / 0.49 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1613, allocations: 0 / 0.49 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1615, allocations: 27.97 kB / 0.4901 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1615, allocations: 0 / 0.4901 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1616, allocations: 15.98 kB / 0.4901 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1616, allocations: 4 kB / 0.4901 GB, free: 2.902 MB / 382.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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000103/0.1617, allocations: 124.9 kB / 0.4902 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.1618, allocations: 19.73 kB / 0.4902 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007211/0.1625, allocations: 386.8 kB / 0.4906 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1625, allocations: 0 / 0.4906 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1626, allocations: 0 / 0.4906 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.1626, allocations: 112.8 kB / 0.4907 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1627, allocations: 4 kB / 0.4907 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1628, allocations: 11.98 kB / 0.4907 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.1629, allocations: 11.98 kB / 0.4907 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007139/0.1636, allocations: 421.5 kB / 0.4911 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006368/0.1643, allocations: 0.5108 MB / 0.4916 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003131/0.1646, allocations: 163.9 kB / 0.4918 GB, free: 1.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.296e-05/0.1647, allocations: 99.27 kB / 0.4919 GB, free: 1.016 MB / 382.1 MB Notification: Performance of Backend: time 7.72e-07/0.1647, allocations: 0 / 0.4919 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003924/0.1686, allocations: 1.276 MB / 0.4931 GB, free: 15.73 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005681/0.1692, allocations: 0.7048 MB / 0.4938 GB, free: 14.98 MB / 398.1 MB Notification: Performance of Templates: time 0.03495/0.2041, allocations: 23.91 MB / 0.5172 GB, free: 7.051 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1)