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.001217/0.001217, allocations: 111.8 kB / 16.42 MB, free: 6.516 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.001191/0.001191, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.205/1.205, 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.04233/0.04233, allocations: 9.095 MB / 279.7 MB, free: 2.949 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.001381/0.001381, allocations: 70.08 kB / 388.1 MB, free: 47.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06469/0.06608, allocations: 48.17 MB / 436.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01512/0.08124, allocations: 18.07 MB / 454.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009001/0.09027, allocations: 11.08 MB / 465.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.09037, allocations: 3.938 kB / 465.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.09046, allocations: 7.922 kB / 465.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000797/0.09126, allocations: 370.2 kB / 465.8 MB, free: 10.11 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.01105/0.1023, allocations: 5.516 MB / 471.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1025, allocations: 143.3 kB / 471.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.1026, allocations: 15.92 kB / 471.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.1028, allocations: 87.52 kB / 471.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.1029, allocations: 59.81 kB / 471.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1029, allocations: 4 kB / 471.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01179/0.1147, allocations: 8.098 MB / 479.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.1148, allocations: 15.98 kB / 479.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.701e-05/0.1149, allocations: 47.73 kB / 479.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008467/0.1234, allocations: 3.398 MB / 483.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1234, allocations: 4 kB / 483.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1234, allocations: 0 / 483.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1234, allocations: 0 / 483.2 MB, free: 8.699 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.001492/0.1249, allocations: 0.8308 MB / 484 MB, free: 7.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1249, allocations: 11.97 kB / 484 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1251, allocations: 15.89 kB / 484.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1252, allocations: 182.8 kB / 484.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1252, allocations: 8 kB / 484.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.1253, allocations: 4 kB / 484.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.1256, allocations: 93.62 kB / 484.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1256, allocations: 0 / 484.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1256, allocations: 4 kB / 484.3 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1256, allocations: 0 / 484.3 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.126, allocations: 115.8 kB / 484.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.1265, allocations: 316.8 kB / 484.8 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.1268, allocations: 98.52 kB / 484.9 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.127, allocations: 81 kB / 484.9 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0205/0.1476, allocations: 15.92 MB / 0.4891 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1476, allocations: 38.5 kB / 0.4892 GB, free: 4.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.425e-06/0.1476, allocations: 0 / 0.4892 GB, free: 4.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008938/0.1485, allocations: 213.4 kB / 0.4894 GB, free: 3.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.1486, allocations: 55.41 kB / 0.4894 GB, free: 3.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1487, allocations: 137.8 kB / 0.4896 GB, free: 3.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1487, allocations: 25.7 kB / 0.4896 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.1488, allocations: 92.12 kB / 0.4897 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.1489, allocations: 35.64 kB / 0.4897 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.1489, allocations: 25.7 kB / 0.4897 GB, free: 3.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.149, allocations: 322.8 kB / 0.49 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.1492, allocations: 51.95 kB / 0.4901 GB, free: 3.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.1494, allocations: 56.2 kB / 0.4901 GB, free: 2.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.1497, allocations: 108.7 kB / 0.4902 GB, free: 2.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1498, allocations: 4 kB / 0.4902 GB, free: 2.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004023/0.1502, allocations: 141.5 kB / 0.4904 GB, free: 2.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1502, allocations: 13.97 kB / 0.4904 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1502, allocations: 0 / 0.4904 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.1502, allocations: 3.984 kB / 0.4904 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.1504, allocations: 23.98 kB / 0.4904 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1504, allocations: 7.984 kB / 0.4904 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1505, allocations: 11.98 kB / 0.4904 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1505, allocations: 4 kB / 0.4904 GB, free: 2.648 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 8.284e-05/0.1506, allocations: 120.9 kB / 0.4906 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.1507, allocations: 19.84 kB / 0.4906 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/0.1514, allocations: 394.5 kB / 0.491 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1514, allocations: 0 / 0.491 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1514, allocations: 0 / 0.491 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/0.1515, allocations: 109.2 kB / 0.4911 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1516, allocations: 8 kB / 0.4911 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1517, allocations: 11.98 kB / 0.4911 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.1518, allocations: 15.92 kB / 0.4911 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007533/0.1525, allocations: 433.5 kB / 0.4915 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006971/0.1533, allocations: 0.5031 MB / 0.492 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002874/0.1536, allocations: 155.9 kB / 0.4921 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.248e-05/0.1536, allocations: 99.27 kB / 0.4922 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.1536, allocations: 0 / 0.4922 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004712/0.1584, allocations: 1.293 MB / 0.4935 GB, free: 15.45 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005544/0.1589, allocations: 0.7081 MB / 0.4942 GB, free: 14.7 MB / 398.1 MB Notification: Performance of Templates: time 0.03118/0.1901, allocations: 23.84 MB / 0.5175 GB, free: 6.84 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)