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.001547/0.001547, 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.001828/0.001828, allocations: 192.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.569/1.569, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06426/0.06426, allocations: 10.98 MB / 280.7 MB, free: 10.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01824/0.01824, allocations: 4.236 MB / 334.4 MB, free: 29.11 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.001491/0.001491, allocations: 67.91 kB / 396.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2569, allocations: 49.73 MB / 446.4 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.002767/0.2598, allocations: 1.453 MB / 447.8 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2608, allocations: 0.5644 MB / 448.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.2609, allocations: 4 kB / 448.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.261, allocations: 9.938 kB / 448.4 MB, free: 46.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.2613, allocations: 38.27 kB / 448.5 MB, free: 46.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.2615, allocations: 65.77 kB / 448.5 MB, free: 46.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.262, allocations: 353.3 kB / 448.9 MB, free: 45.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.817e-05/0.2621, allocations: 7.5 kB / 448.9 MB, free: 45.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.2622, allocations: 128.2 kB / 449 MB, free: 45.9 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.2625, allocations: 114.5 kB / 449.1 MB, free: 45.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.539e-05/0.2626, allocations: 23.19 kB / 449.1 MB, free: 45.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.2626, allocations: 27.19 kB / 449.2 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.2628, allocations: 89.22 kB / 449.3 MB, free: 45.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.2629, allocations: 92.64 kB / 449.3 MB, free: 45.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.2632, allocations: 228.2 kB / 449.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2632, allocations: 0 / 449.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2632, allocations: 0 / 449.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.2632, allocations: 0 / 449.6 MB, free: 45.54 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.002063/0.2653, allocations: 0.6607 MB / 450.2 MB, free: 44.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.2653, allocations: 9.219 kB / 450.2 MB, free: 44.99 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.672e-05/0.2654, allocations: 43.36 kB / 450.3 MB, free: 44.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.2655, allocations: 16.5 kB / 450.3 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.2658, allocations: 243.1 kB / 450.5 MB, free: 44.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2658, allocations: 17.83 kB / 450.5 MB, free: 44.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.2659, allocations: 19.7 kB / 450.6 MB, free: 44.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.2667, allocations: 322.8 kB / 450.9 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2667, allocations: 0 / 450.9 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.2667, allocations: 5.656 kB / 450.9 MB, free: 44.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.2668, allocations: 14.3 kB / 450.9 MB, free: 44.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.2676, allocations: 356.2 kB / 451.3 MB, free: 44.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.2701, allocations: 0.9856 MB / 452.2 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.2706, allocations: 235.2 kB / 452.5 MB, free: 43.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.2709, allocations: 150.2 kB / 452.6 MB, free: 43.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.271, allocations: 9.328 kB / 452.6 MB, free: 43.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/0.2714, allocations: 239.3 kB / 452.9 MB, free: 43.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.2714, allocations: 0 / 452.9 MB, free: 43.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001115/0.2725, allocations: 489.8 kB / 453.3 MB, free: 43.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2726, allocations: 56.97 kB / 453.4 MB, free: 42.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.2728, allocations: 189.8 kB / 453.6 MB, free: 42.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.2728, allocations: 31.89 kB / 453.6 MB, free: 42.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.2729, allocations: 140.8 kB / 453.7 MB, free: 42.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.273, allocations: 60.12 kB / 453.8 MB, free: 42.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.2731, allocations: 87.31 kB / 453.9 MB, free: 42.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.2732, allocations: 329.5 kB / 454.2 MB, free: 42.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.2736, allocations: 209 kB / 454.4 MB, free: 42.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.2741, allocations: 286.5 kB / 454.7 MB, free: 41.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009652/0.2751, allocations: 0.5025 MB / 455.2 MB, free: 41.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2751, allocations: 1.406 kB / 455.2 MB, free: 41.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001155/0.2763, allocations: 0.58 MB / 455.8 MB, free: 41.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.2763, allocations: 32.92 kB / 455.8 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2763, allocations: 3.5 kB / 455.8 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.2764, allocations: 4.469 kB / 455.8 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.277, allocations: 120.8 kB / 455.9 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.2771, allocations: 5.031 kB / 455.9 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.2774, allocations: 58.38 kB / 456 MB, free: 41.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.2775, allocations: 23.7 kB / 456 MB, free: 41.12 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.0001403/0.2776, allocations: 150 kB / 456.2 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.2777, allocations: 22.42 kB / 456.2 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.2778, allocations: 37.06 kB / 456.2 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2778, allocations: 2.562 kB / 456.2 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2778, allocations: 3.984 kB / 456.2 MB, free: 40.92 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2778, allocations: 0 / 456.2 MB, free: 40.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.2781, allocations: 395.3 kB / 456.6 MB, free: 40.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2781, allocations: 0 / 456.6 MB, free: 40.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.2787, allocations: 83.86 kB / 456.7 MB, free: 40.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2787, allocations: 4 kB / 456.7 MB, free: 40.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.2787, allocations: 11.98 kB / 456.7 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2788, allocations: 3.984 kB / 456.7 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2788, allocations: 0 / 456.7 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/0.2796, allocations: 0.5239 MB / 457.2 MB, free: 39.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.2796, allocations: 88.92 kB / 457.3 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.2797, allocations: 11.98 kB / 457.3 MB, free: 39.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.28, allocations: 31.95 kB / 457.4 MB, free: 39.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.2801, allocations: 19.97 kB / 457.4 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.2801, allocations: 11.97 kB / 457.4 MB, free: 39.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.559e-05/0.2802, allocations: 124 kB / 457.5 MB, free: 39.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2802, allocations: 0 / 457.5 MB, free: 39.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.2805, allocations: 52 kB / 457.6 MB, free: 39.49 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.001021/0.2815, allocations: 1.065 MB / 458.6 MB, free: 38.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007568/0.2823, allocations: 0.4912 MB / 459.1 MB, free: 37.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2823, allocations: 4 kB / 459.1 MB, free: 37.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.2826, allocations: 167.8 kB / 459.3 MB, free: 37.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2829, allocations: 22.2 kB / 459.3 MB, free: 37.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.2862, allocations: 3.183 MB / 462.5 MB, free: 34.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.2864, allocations: 0.732 MB / 463.2 MB, free: 33.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.2867, allocations: 113.8 kB / 463.3 MB, free: 33.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2868, allocations: 59.39 kB / 463.4 MB, free: 33.44 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2868, allocations: 0 / 463.4 MB, free: 33.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.3098, allocations: 4.691 MB / 468.1 MB, free: 28.81 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.897, allocations: 9.328 kB / 468.1 MB, free: 28.8 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 & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe 2>&1)