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.001385/0.001385, allocations: 108 kB / 15.6 MB, free: 132 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.001871/0.00187, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.645/1.645, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06499/0.06499, allocations: 10.97 MB / 280.7 MB, free: 10.24 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01771/0.01771, allocations: 4.24 MB / 334.4 MB, free: 29.12 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.001606/0.001606, allocations: 63.91 kB / 396.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3233, allocations: 49.74 MB / 446.3 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.002582/0.3259, allocations: 1.441 MB / 447.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009572/0.3269, allocations: 0.5719 MB / 448.3 MB, free: 46.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.3269, allocations: 5.469 kB / 448.3 MB, free: 46.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3271, allocations: 3.938 kB / 448.3 MB, free: 46.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.3274, allocations: 39.52 kB / 448.4 MB, free: 46.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.3276, allocations: 68.64 kB / 448.4 MB, free: 46.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.3282, allocations: 349.9 kB / 448.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/0.3283, allocations: 8.891 kB / 448.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.3285, allocations: 124.7 kB / 448.9 MB, free: 46.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.3287, allocations: 117.8 kB / 449 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.3288, allocations: 23.59 kB / 449 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.3288, allocations: 22.5 kB / 449.1 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.329, allocations: 85.61 kB / 449.1 MB, free: 45.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.3291, allocations: 87.66 kB / 449.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3294, allocations: 234.9 kB / 449.5 MB, free: 45.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3294, allocations: 1.469 kB / 449.5 MB, free: 45.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3294, allocations: 4 kB / 449.5 MB, free: 45.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3294, allocations: 0 / 449.5 MB, free: 45.76 MB / 318.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.002019/0.3314, allocations: 0.6596 MB / 450.1 MB, free: 45.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3315, allocations: 9.562 kB / 450.1 MB, free: 45.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.3316, allocations: 20.53 kB / 450.2 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3319, allocations: 234.1 kB / 450.4 MB, free: 44.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3319, allocations: 14.83 kB / 450.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.332, allocations: 19.86 kB / 450.4 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.3326, allocations: 322.6 kB / 450.7 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3326, allocations: 0 / 450.7 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.3326, allocations: 5.312 kB / 450.7 MB, free: 44.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.3327, allocations: 14.45 kB / 450.7 MB, free: 44.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006205/0.3333, allocations: 356.5 kB / 451.1 MB, free: 44.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.3355, allocations: 0.9835 MB / 452.1 MB, free: 43.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.336, allocations: 244.7 kB / 452.3 MB, free: 43.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.3363, allocations: 158.2 kB / 452.5 MB, free: 43.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3364, allocations: 2.156 kB / 452.5 MB, free: 43.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004508/0.3368, allocations: 230.5 kB / 452.7 MB, free: 43.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.3368, allocations: 0 / 452.7 MB, free: 43.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001069/0.3379, allocations: 497.9 kB / 453.2 MB, free: 43.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.338, allocations: 53.56 kB / 453.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3381, allocations: 192 kB / 453.4 MB, free: 43.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.3382, allocations: 31.92 kB / 453.5 MB, free: 43.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.3382, allocations: 140.7 kB / 453.6 MB, free: 42.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.3383, allocations: 64.08 kB / 453.7 MB, free: 42.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.3384, allocations: 84 kB / 453.7 MB, free: 42.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.3385, allocations: 328.5 kB / 454.1 MB, free: 42.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.3389, allocations: 201.7 kB / 454.3 MB, free: 42.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.3394, allocations: 289.4 kB / 454.5 MB, free: 42.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009524/0.3404, allocations: 0.5042 MB / 455 MB, free: 41.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3404, allocations: 3.938 kB / 455 MB, free: 41.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001214/0.3417, allocations: 0.5809 MB / 455.6 MB, free: 41.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.3417, allocations: 32.77 kB / 455.7 MB, free: 41.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.3417, allocations: 6.297 kB / 455.7 MB, free: 41.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.3418, allocations: 5.5 kB / 455.7 MB, free: 41.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.3425, allocations: 121.6 kB / 455.8 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.3426, allocations: 7.656 kB / 455.8 MB, free: 41.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.3429, allocations: 63.5 kB / 455.9 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.343, allocations: 19.98 kB / 455.9 MB, free: 41.34 MB / 318.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.00018/0.3432, allocations: 145.7 kB / 456 MB, free: 41.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.3432, allocations: 15.81 kB / 456 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.3433, allocations: 37.53 kB / 456.1 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3434, allocations: 0 / 456.1 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.3434, allocations: 3.984 kB / 456.1 MB, free: 41.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3434, allocations: 4 kB / 456.1 MB, free: 41.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.3438, allocations: 397 kB / 456.5 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3438, allocations: 0 / 456.5 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.3443, allocations: 79.8 kB / 456.5 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3443, allocations: 0 / 456.5 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.3444, allocations: 19.97 kB / 456.6 MB, free: 40.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3444, allocations: 3.938 kB / 456.6 MB, free: 40.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3444, allocations: 4 kB / 456.6 MB, free: 40.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.3452, allocations: 0.5161 MB / 457.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.3453, allocations: 88.92 kB / 457.2 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.3453, allocations: 15.98 kB / 457.2 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.3456, allocations: 23.95 kB / 457.2 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.3457, allocations: 23.95 kB / 457.2 MB, free: 39.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.3457, allocations: 7.984 kB / 457.2 MB, free: 39.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.738e-05/0.3458, allocations: 128 kB / 457.4 MB, free: 39.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3458, allocations: 4.188 kB / 457.4 MB, free: 39.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.3461, allocations: 52 kB / 457.4 MB, free: 39.7 MB / 318.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.0001121/0.3462, allocations: 115.2 kB / 457.5 MB, free: 39.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007251/0.347, allocations: 495.6 kB / 458 MB, free: 39.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.347, allocations: 8.062 kB / 458 MB, free: 39.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.3473, allocations: 163.9 kB / 458.2 MB, free: 38.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.3475, allocations: 15.94 kB / 458.2 MB, free: 38.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.3483, allocations: 0.5528 MB / 458.8 MB, free: 38.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.3485, allocations: 0.7358 MB / 459.5 MB, free: 37.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.3487, allocations: 109.8 kB / 459.6 MB, free: 37.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/0.3488, allocations: 35.39 kB / 459.6 MB, free: 37.41 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3488, allocations: 0 / 459.6 MB, free: 37.41 MB / 318.1 MB Notification: Performance of Templates: time 0.004764/0.3536, allocations: 2.475 MB / 462.1 MB, free: 34.94 MB / 318.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)