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: "" <> buildModelFMU(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008041/0.0008039, allocations: 97.64 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.005516/0.005516, allocations: 169 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.541/1.541, allocations: 205.4 MB / 222.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06119/0.06119, allocations: 10.98 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.01688/0.01688, allocations: 4.239 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.0005106/0.0005106, allocations: 12 kB / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2618, allocations: 50.76 MB / 450.1 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.001367/0.2632, allocations: 1.171 MB / 451.3 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.2641, allocations: 0.5583 MB / 451.9 MB, free: 46.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.2641, allocations: 1.469 kB / 451.9 MB, free: 46.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.2643, allocations: 13.05 kB / 451.9 MB, free: 46.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.2645, allocations: 34.28 kB / 451.9 MB, free: 46.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.2647, allocations: 62.45 kB / 452 MB, free: 46.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.265, allocations: 327.1 kB / 452.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.2651, allocations: 7.719 kB / 452.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.2652, allocations: 110 kB / 452.4 MB, free: 46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.2654, allocations: 112.7 kB / 452.5 MB, free: 45.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.2655, allocations: 11.59 kB / 452.5 MB, free: 45.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.2655, allocations: 12.97 kB / 452.5 MB, free: 45.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2656, allocations: 71.58 kB / 452.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.874e-05/0.2657, allocations: 114.3 kB / 452.7 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.2659, allocations: 213.5 kB / 452.9 MB, free: 45.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2659, allocations: 0 / 452.9 MB, free: 45.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2659, allocations: 0 / 452.9 MB, free: 45.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.2659, allocations: 0 / 452.9 MB, free: 45.65 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.001773/0.2677, allocations: 0.6549 MB / 453.6 MB, free: 45.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2678, allocations: 9.656 kB / 453.6 MB, free: 45.12 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.2678, allocations: 47.39 kB / 453.6 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.2679, allocations: 12.16 kB / 453.7 MB, free: 45.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.2681, allocations: 235.6 kB / 453.9 MB, free: 44.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2681, allocations: 14.42 kB / 453.9 MB, free: 44.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.2682, allocations: 23.55 kB / 453.9 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.2688, allocations: 328.3 kB / 454.2 MB, free: 44.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2688, allocations: 4 kB / 454.3 MB, free: 44.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.2688, allocations: 9.109 kB / 454.3 MB, free: 44.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.2689, allocations: 14.86 kB / 454.3 MB, free: 44.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.2694, allocations: 364.8 kB / 454.6 MB, free: 44.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.2715, allocations: 1.006 MB / 455.6 MB, free: 43.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.272, allocations: 251.8 kB / 455.9 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.2723, allocations: 172 kB / 456.1 MB, free: 43.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.2723, allocations: 2.156 kB / 456.1 MB, free: 43.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004142/0.2727, allocations: 242.4 kB / 456.3 MB, free: 43.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.324e-06/0.2728, allocations: 1.25 kB / 456.3 MB, free: 43.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001037/0.2738, allocations: 499.9 kB / 456.8 MB, free: 43.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.2738, allocations: 53.69 kB / 456.8 MB, free: 43.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.274, allocations: 189.1 kB / 457 MB, free: 42.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.274, allocations: 31.89 kB / 457 MB, free: 42.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.2741, allocations: 148.2 kB / 457.2 MB, free: 42.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.2742, allocations: 65 kB / 457.3 MB, free: 42.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.2742, allocations: 39.77 kB / 457.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.2743, allocations: 324.3 kB / 457.6 MB, free: 42.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.2747, allocations: 207.1 kB / 457.8 MB, free: 42.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.2751, allocations: 299 kB / 458.1 MB, free: 42.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.2757, allocations: 0.52 MB / 458.6 MB, free: 41.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2757, allocations: 0 / 458.6 MB, free: 41.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007806/0.2765, allocations: 0.5848 MB / 459.2 MB, free: 40.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.2766, allocations: 41.69 kB / 459.3 MB, free: 40.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2766, allocations: 352 / 459.3 MB, free: 40.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2766, allocations: 12 kB / 459.3 MB, free: 40.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.2772, allocations: 119.8 kB / 459.4 MB, free: 40.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.2772, allocations: 7.938 kB / 459.4 MB, free: 40.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.2775, allocations: 59.64 kB / 459.4 MB, free: 40.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.2776, allocations: 19.92 kB / 459.5 MB, free: 40.71 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.0001163/0.2777, allocations: 153.7 kB / 459.6 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.2778, allocations: 19.8 kB / 459.6 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.2779, allocations: 41.53 kB / 459.7 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2779, allocations: 0 / 459.7 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2779, allocations: 0 / 459.7 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2779, allocations: 0 / 459.7 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.2782, allocations: 389 kB / 460.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2782, allocations: 0 / 460.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.2787, allocations: 79.86 kB / 460.1 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2787, allocations: 4 kB / 460.1 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.2788, allocations: 19.97 kB / 460.2 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2788, allocations: 3.938 kB / 460.2 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2788, allocations: 0 / 460.2 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.2796, allocations: 0.5318 MB / 460.7 MB, free: 39.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.2796, allocations: 92.91 kB / 460.8 MB, free: 39.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.2797, allocations: 12 kB / 460.8 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.28, allocations: 31.94 kB / 460.8 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.2801, allocations: 19.97 kB / 460.8 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.2801, allocations: 7.984 kB / 460.9 MB, free: 39.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.163e-05/0.2802, allocations: 141.8 kB / 461 MB, free: 39.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2802, allocations: 0 / 461 MB, free: 39.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000273/0.2805, allocations: 52 kB / 461 MB, free: 39.03 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.0009743/0.2814, allocations: 1.082 MB / 462.1 MB, free: 37.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.2821, allocations: 491 kB / 462.6 MB, free: 37.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2821, allocations: 0 / 462.6 MB, free: 37.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.2824, allocations: 179.2 kB / 462.8 MB, free: 37.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.2826, allocations: 16 kB / 462.8 MB, free: 37.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.2857, allocations: 3.283 MB / 466.1 MB, free: 33.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.2859, allocations: 0.7284 MB / 466.8 MB, free: 33.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.2862, allocations: 113.8 kB / 466.9 MB, free: 32.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2863, allocations: 55.39 kB / 467 MB, free: 32.88 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2863, allocations: 4 kB / 467 MB, free: 32.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.2989, allocations: 4.358 MB / 471.3 MB, free: 28.62 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.2991, allocations: 203.7 kB / 471.5 MB, free: 28.37 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.071, allocations: 4 kB / 471.5 MB, free: 28.37 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe 2>&1)