Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro 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(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") translateModel(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 112.5 kB / 15.74 MB, free: 68 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.001096/0.001096, allocations: 198 kB / 16.67 MB, free: 6.582 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.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06804/0.06804, allocations: 10.99 MB / 280.9 MB, free: 10.14 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01803/0.01803, allocations: 4.24 MB / 334.6 MB, free: 29.03 MB / 254.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.001465/0.001466, allocations: 69.47 kB / 447.5 MB, free: 44.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 49.75 MB / 497.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.003228/0.1391, allocations: 1.444 MB / 498.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1403, allocations: 0.5542 MB / 499.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.1404, allocations: 0 / 499.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1405, allocations: 19.86 kB / 499.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1409, allocations: 35.83 kB / 499.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1412, allocations: 75.78 kB / 499.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000483/0.1417, allocations: 347.5 kB / 499.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.1418, allocations: 12.12 kB / 499.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.142, allocations: 123.8 kB / 499.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1422, allocations: 115.7 kB / 0.4883 GB, free: 10.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.1423, allocations: 24 kB / 0.4883 GB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.89e-05/0.1424, allocations: 20 kB / 0.4883 GB, free: 10.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.1425, allocations: 87.77 kB / 0.4884 GB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1427, allocations: 91.67 kB / 0.4885 GB, free: 10.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.143, allocations: 227.3 kB / 0.4887 GB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.143, allocations: 0 / 0.4887 GB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.143, allocations: 0 / 0.4887 GB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.143, allocations: 4 kB / 0.4887 GB, free: 10.18 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002027/0.1451, allocations: 0.6721 MB / 0.4894 GB, free: 9.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1451, allocations: 12.03 kB / 0.4894 GB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/0.1452, allocations: 8.891 kB / 0.4894 GB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1455, allocations: 240.1 kB / 0.4896 GB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.1455, allocations: 12.38 kB / 0.4896 GB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.1456, allocations: 24.33 kB / 0.4897 GB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.1462, allocations: 329.3 kB / 0.49 GB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1462, allocations: 0 / 0.49 GB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.1462, allocations: 0 / 0.49 GB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.1463, allocations: 19.98 kB / 0.49 GB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.147, allocations: 351.8 kB / 0.4903 GB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.1491, allocations: 0.9834 MB / 0.4913 GB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.1496, allocations: 242.3 kB / 0.4915 GB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.1499, allocations: 148.8 kB / 0.4917 GB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.15, allocations: 4 kB / 0.4917 GB, free: 7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000416/0.1504, allocations: 235.2 kB / 0.4919 GB, free: 6.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.1504, allocations: 0 / 0.4919 GB, free: 6.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001063/0.1515, allocations: 493.4 kB / 0.4924 GB, free: 6.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.1515, allocations: 59.41 kB / 0.4924 GB, free: 6.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1517, allocations: 179.3 kB / 0.4926 GB, free: 6.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.1518, allocations: 33.7 kB / 0.4926 GB, free: 5.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1519, allocations: 152.2 kB / 0.4928 GB, free: 5.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.152, allocations: 55.53 kB / 0.4928 GB, free: 5.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.1522, allocations: 89.61 kB / 0.4929 GB, free: 5.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1524, allocations: 326.8 kB / 0.4932 GB, free: 5.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.1527, allocations: 207.9 kB / 0.4934 GB, free: 5.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.1532, allocations: 289.7 kB / 0.4937 GB, free: 4.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.154, allocations: 0.5002 MB / 0.4942 GB, free: 4.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.154, allocations: 3.938 kB / 0.4942 GB, free: 4.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001148/0.1552, allocations: 0.5812 MB / 0.4948 GB, free: 3.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.1553, allocations: 33.7 kB / 0.4948 GB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1553, allocations: 0 / 0.4948 GB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.1553, allocations: 7.984 kB / 0.4948 GB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.1559, allocations: 119.8 kB / 0.4949 GB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.156, allocations: 15.91 kB / 0.4949 GB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.1563, allocations: 63.62 kB / 0.495 GB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.1564, allocations: 24.17 kB / 0.495 GB, free: 3.418 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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.0001812/0.1566, allocations: 145.7 kB / 0.4951 GB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.1566, allocations: 11.91 kB / 0.4952 GB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.1568, allocations: 41.52 kB / 0.4952 GB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1568, allocations: 4 kB / 0.4952 GB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1568, allocations: 3.938 kB / 0.4952 GB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1568, allocations: 0 / 0.4952 GB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.1573, allocations: 381.2 kB / 0.4956 GB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1573, allocations: 0 / 0.4956 GB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.1578, allocations: 91.8 kB / 0.4957 GB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1579, allocations: 0 / 0.4957 GB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.1579, allocations: 15.97 kB / 0.4957 GB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1579, allocations: 0 / 0.4957 GB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1579, allocations: 0 / 0.4957 GB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.1591, allocations: 0.5315 MB / 0.4962 GB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.1591, allocations: 85.06 kB / 0.4963 GB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.1592, allocations: 15.98 kB / 0.4963 GB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.1595, allocations: 31.95 kB / 0.4963 GB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1596, allocations: 19.95 kB / 0.4963 GB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.1596, allocations: 11.98 kB / 0.4963 GB, free: 1.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.1598, allocations: 132.9 kB / 0.4965 GB, free: 1.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1598, allocations: 0 / 0.4965 GB, free: 1.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.1601, allocations: 52 kB / 0.4965 GB, free: 1.762 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (transport.u[1,1],transport.u[1,2],transport.u[2,1],transport.u[2,2],transport.u[3,1],transport.u[3,2],transport.u[4,1],transport.u[4,2],transport.u[5,1],transport.u[5,2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001202/0.1602, allocations: 107.2 kB / 0.4966 GB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008352/0.1611, allocations: 478.9 kB / 0.4971 GB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1611, allocations: 0.6875 kB / 0.4971 GB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.1614, allocations: 171.9 kB / 0.4972 GB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1617, allocations: 18.28 kB / 0.4973 GB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1628, allocations: 0.5599 MB / 0.4978 GB, free: 408 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.1632, allocations: 0.732 MB / 0.4985 GB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002885/0.1634, allocations: 117.8 kB / 0.4986 GB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.1636, allocations: 27.41 kB / 0.4987 GB, free: 15.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1636, allocations: 4 kB / 0.4987 GB, free: 15.49 MB / 350.1 MB Notification: Performance of Templates: time 0.006676/0.1703, allocations: 2.545 MB / 0.5012 GB, free: 12.95 MB / 350.1 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.makefile (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.sim & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe 2>&1)