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.0009159/0.0009156, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007435/0.007435, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.621/1.621, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06908/0.06908, allocations: 10.99 MB / 281.7 MB, free: 10.15 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01814/0.01814, allocations: 4.234 MB / 336.4 MB, free: 29.02 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.0005812/0.0005814, allocations: 12 kB / 399.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2874, allocations: 50.76 MB / 450 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.001877/0.2893, allocations: 1.173 MB / 451.2 MB, free: 46.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2905, allocations: 0.5549 MB / 451.8 MB, free: 46.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.2906, allocations: 1.125 kB / 451.8 MB, free: 46.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.2908, allocations: 7.938 kB / 451.8 MB, free: 46.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.291, allocations: 35.67 kB / 451.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.2913, allocations: 67.97 kB / 451.9 MB, free: 46.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.2918, allocations: 319.7 kB / 452.2 MB, free: 46.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.244e-05/0.2918, allocations: 3.906 kB / 452.2 MB, free: 46.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.2921, allocations: 114.7 kB / 452.3 MB, free: 46.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.2924, allocations: 112.7 kB / 452.4 MB, free: 45.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.2925, allocations: 13.16 kB / 452.4 MB, free: 45.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.2925, allocations: 11.38 kB / 452.4 MB, free: 45.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2926, allocations: 79.83 kB / 452.5 MB, free: 45.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.2928, allocations: 110.1 kB / 452.6 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.293, allocations: 214.4 kB / 452.8 MB, free: 45.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2931, allocations: 0 / 452.8 MB, free: 45.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2931, allocations: 0 / 452.8 MB, free: 45.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2931, allocations: 0 / 452.8 MB, free: 45.68 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.001998/0.2951, allocations: 0.6564 MB / 453.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2951, allocations: 10.56 kB / 453.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.2953, allocations: 11.22 kB / 453.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.2956, allocations: 235.6 kB / 453.7 MB, free: 44.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.2956, allocations: 13.67 kB / 453.8 MB, free: 44.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/0.2957, allocations: 19.69 kB / 453.8 MB, free: 44.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.2963, allocations: 327.9 kB / 454.1 MB, free: 44.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2963, allocations: 5.125 kB / 454.1 MB, free: 44.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.2964, allocations: 5 kB / 454.1 MB, free: 44.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.2964, allocations: 11.12 kB / 454.1 MB, free: 44.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.2971, allocations: 365.5 kB / 454.5 MB, free: 44.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.2993, allocations: 1.02 MB / 455.5 MB, free: 43.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.2998, allocations: 246.5 kB / 455.7 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.3001, allocations: 172.6 kB / 455.9 MB, free: 43.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3001, allocations: 1.094 kB / 455.9 MB, free: 43.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003989/0.3005, allocations: 246.9 kB / 456.1 MB, free: 43.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.3005, allocations: 0 / 456.1 MB, free: 43.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001001/0.3015, allocations: 496.5 kB / 456.6 MB, free: 43.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.3016, allocations: 57.81 kB / 456.7 MB, free: 43.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3017, allocations: 181.4 kB / 456.9 MB, free: 43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.3018, allocations: 30.8 kB / 456.9 MB, free: 42.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.3018, allocations: 145.9 kB / 457 MB, free: 42.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.3019, allocations: 68.33 kB / 457.1 MB, free: 42.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.302, allocations: 39.33 kB / 457.1 MB, free: 42.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.302, allocations: 324.2 kB / 457.5 MB, free: 42.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.3024, allocations: 207.7 kB / 457.7 MB, free: 42.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.3028, allocations: 302 kB / 458 MB, free: 42.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.3035, allocations: 0.5129 MB / 458.5 MB, free: 41.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3035, allocations: 7.938 kB / 458.5 MB, free: 41.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000847/0.3044, allocations: 0.5809 MB / 459.1 MB, free: 41.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.3044, allocations: 37.7 kB / 459.1 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.3044, allocations: 4.344 kB / 459.1 MB, free: 41.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.3045, allocations: 15.98 kB / 459.1 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/0.3051, allocations: 119.7 kB / 459.2 MB, free: 40.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3051, allocations: 7.984 kB / 459.2 MB, free: 40.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.3054, allocations: 59.64 kB / 459.3 MB, free: 40.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.3055, allocations: 15.98 kB / 459.3 MB, free: 40.8 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.0001168/0.3056, allocations: 153.7 kB / 459.5 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.3056, allocations: 11.91 kB / 459.5 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.3058, allocations: 49.45 kB / 459.5 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3058, allocations: 0 / 459.5 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3058, allocations: 0 / 459.5 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3058, allocations: 0 / 459.5 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.3061, allocations: 396.9 kB / 459.9 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3061, allocations: 0 / 459.9 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.3066, allocations: 79.86 kB / 460 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3067, allocations: 4 kB / 460 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.3067, allocations: 19.97 kB / 460 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3067, allocations: 0 / 460 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3067, allocations: 0 / 460 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/0.3076, allocations: 0.5395 MB / 460.6 MB, free: 39.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.3076, allocations: 88.92 kB / 460.6 MB, free: 39.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.3077, allocations: 15.98 kB / 460.7 MB, free: 39.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.3079, allocations: 31.95 kB / 460.7 MB, free: 39.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.308, allocations: 19.95 kB / 460.7 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.3081, allocations: 7.984 kB / 460.7 MB, free: 39.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.3081, allocations: 137.8 kB / 460.8 MB, free: 39.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3081, allocations: 0 / 460.8 MB, free: 39.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.3084, allocations: 52 kB / 460.9 MB, free: 39.11 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.0001045/0.3085, allocations: 112.9 kB / 461 MB, free: 39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006817/0.3092, allocations: 484 kB / 461.5 MB, free: 38.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3092, allocations: 0 / 461.5 MB, free: 38.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.3095, allocations: 180.2 kB / 461.7 MB, free: 38.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3098, allocations: 19.94 kB / 461.7 MB, free: 38.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.3105, allocations: 0.6349 MB / 462.3 MB, free: 37.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.3107, allocations: 0.7284 MB / 463 MB, free: 36.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.311, allocations: 113.8 kB / 463.1 MB, free: 36.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.3111, allocations: 23.41 kB / 463.2 MB, free: 36.77 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3111, allocations: 4 kB / 463.2 MB, free: 36.77 MB / 318.1 MB Notification: Performance of Templates: time 0.00459/0.3157, allocations: 2.317 MB / 465.5 MB, free: 34.46 MB / 318.1 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: