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.001286/0.001287, 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.001417/0.001417, allocations: 194.7 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.367/1.367, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06842/0.06842, allocations: 10.97 MB / 280.7 MB, free: 10.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01838/0.01838, allocations: 4.23 MB / 334.4 MB, free: 29.14 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.001698/0.001698, allocations: 67.91 kB / 396.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2384, allocations: 49.73 MB / 446.4 MB, free: 47.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.002269/0.2407, allocations: 1.447 MB / 447.8 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007785/0.2415, allocations: 0.5677 MB / 448.4 MB, free: 46.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.2415, allocations: 1.094 kB / 448.4 MB, free: 46.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.2416, allocations: 13.19 kB / 448.4 MB, free: 46.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.2419, allocations: 35.2 kB / 448.5 MB, free: 46.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.2421, allocations: 64.75 kB / 448.5 MB, free: 46.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.2424, allocations: 350.1 kB / 448.9 MB, free: 46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.2424, allocations: 11.53 kB / 448.9 MB, free: 45.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2425, allocations: 124.6 kB / 449 MB, free: 45.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2427, allocations: 117.3 kB / 449.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.2428, allocations: 23.41 kB / 449.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.585e-05/0.2428, allocations: 27.12 kB / 449.2 MB, free: 45.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.2429, allocations: 85.59 kB / 449.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2431, allocations: 91.78 kB / 449.3 MB, free: 45.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.2433, allocations: 228.2 kB / 449.6 MB, free: 45.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2433, allocations: 1.438 kB / 449.6 MB, free: 45.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2433, allocations: 0 / 449.6 MB, free: 45.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.2433, allocations: 0 / 449.6 MB, free: 45.57 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.001819/0.2451, allocations: 0.6598 MB / 450.2 MB, free: 45.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2451, allocations: 13.45 kB / 450.2 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.2452, allocations: 48.48 kB / 450.3 MB, free: 44.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.2453, allocations: 16.34 kB / 450.3 MB, free: 44.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.2455, allocations: 238.4 kB / 450.5 MB, free: 44.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2455, allocations: 17.59 kB / 450.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.2456, allocations: 19.8 kB / 450.6 MB, free: 44.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.2461, allocations: 319.9 kB / 450.9 MB, free: 44.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2461, allocations: 0 / 450.9 MB, free: 44.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.2461, allocations: 4 kB / 450.9 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.2462, allocations: 16.23 kB / 450.9 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.2467, allocations: 358.4 kB / 451.2 MB, free: 44.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.2487, allocations: 0.9852 MB / 452.2 MB, free: 43.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.2492, allocations: 235.3 kB / 452.5 MB, free: 43.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.2495, allocations: 163.7 kB / 452.6 MB, free: 43.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.2495, allocations: 1.344 kB / 452.6 MB, free: 43.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003727/0.2499, allocations: 237.6 kB / 452.9 MB, free: 43.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.2499, allocations: 0 / 452.9 MB, free: 43.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009383/0.2508, allocations: 486.3 kB / 453.3 MB, free: 43.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.2509, allocations: 57.62 kB / 453.4 MB, free: 42.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.251, allocations: 189.8 kB / 453.6 MB, free: 42.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.251, allocations: 31.92 kB / 453.6 MB, free: 42.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.2511, allocations: 141 kB / 453.7 MB, free: 42.65 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.2512, allocations: 67.23 kB / 453.8 MB, free: 42.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.2513, allocations: 88.84 kB / 453.9 MB, free: 42.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.2514, allocations: 324 kB / 454.2 MB, free: 42.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.2517, allocations: 210.3 kB / 454.4 MB, free: 42.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.2521, allocations: 288.6 kB / 454.7 MB, free: 41.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.2528, allocations: 0.4991 MB / 455.2 MB, free: 41.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2528, allocations: 1.281 kB / 455.2 MB, free: 41.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009314/0.2538, allocations: 0.5775 MB / 455.8 MB, free: 41.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.2538, allocations: 36.73 kB / 455.8 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2538, allocations: 6.312 kB / 455.8 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.2538, allocations: 4.719 kB / 455.8 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.2545, allocations: 121.5 kB / 455.9 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.2545, allocations: 4.469 kB / 455.9 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.2548, allocations: 59.09 kB / 456 MB, free: 41.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.2549, allocations: 23.8 kB / 456 MB, free: 41.14 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.0001137/0.255, allocations: 145.9 kB / 456.2 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.255, allocations: 14.47 kB / 456.2 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.971e-05/0.2551, allocations: 37.16 kB / 456.2 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2551, allocations: 5.062 kB / 456.2 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2552, allocations: 5.141 kB / 456.2 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2552, allocations: 0 / 456.2 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.2555, allocations: 394.2 kB / 456.6 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2555, allocations: 4 kB / 456.6 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.256, allocations: 79.86 kB / 456.7 MB, free: 40.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.256, allocations: 0 / 456.7 MB, free: 40.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.256, allocations: 19.97 kB / 456.7 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.256, allocations: 0 / 456.7 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2561, allocations: 0 / 456.7 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.2568, allocations: 0.5238 MB / 457.2 MB, free: 39.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.2569, allocations: 88.92 kB / 457.3 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.2569, allocations: 15.98 kB / 457.3 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.2572, allocations: 27.95 kB / 457.4 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.2573, allocations: 23.95 kB / 457.4 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.2573, allocations: 7.984 kB / 457.4 MB, free: 39.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.2574, allocations: 128 kB / 457.5 MB, free: 39.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2574, allocations: 0 / 457.5 MB, free: 39.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.2577, allocations: 48 kB / 457.6 MB, free: 39.54 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.0009447/0.2587, allocations: 1.069 MB / 458.6 MB, free: 38.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.2594, allocations: 0.5026 MB / 459.1 MB, free: 37.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2594, allocations: 0 / 459.1 MB, free: 37.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.2597, allocations: 163.8 kB / 459.3 MB, free: 37.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.2599, allocations: 22.19 kB / 459.3 MB, free: 37.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.2632, allocations: 3.187 MB / 462.5 MB, free: 34.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2635, allocations: 0.7281 MB / 463.2 MB, free: 33.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002865/0.2638, allocations: 109.8 kB / 463.3 MB, free: 33.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.2639, allocations: 59.39 kB / 463.4 MB, free: 33.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2639, allocations: 4 kB / 463.4 MB, free: 33.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.2846, allocations: 4.686 MB / 468.1 MB, free: 28.85 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/8.684, allocations: 13.33 kB / 468.1 MB, free: 28.84 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)