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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009856/0.0009851, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 90.09 kB / 266.6 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.08993/0.08993, allocations: 10.86 MB / 325.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.04201/0.04201, allocations: 4.152 MB / 379.9 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.837e-05, allocations: 4 kB / 439.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 50.75 MB / 490.4 MB, free: 52.15 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09129/0.365, allocations: 79.41 MB / 0.5564 GB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001633/0.3652, allocations: 61.53 kB / 0.5565 GB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03866/0.4039, allocations: 12.8 MB / 0.569 GB, free: 5.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.404, allocations: 4 kB / 0.569 GB, free: 5.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.404, allocations: 4 kB / 0.569 GB, free: 5.711 MB / 362.7 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.001521/0.4055, allocations: 0.648 MB / 0.5696 GB, free: 5.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4056, allocations: 8.031 kB / 0.5696 GB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.226e-05/0.4056, allocations: 49.17 kB / 0.5697 GB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.4057, allocations: 17.19 kB / 0.5697 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.406, allocations: 239.6 kB / 0.5699 GB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4061, allocations: 12 kB / 0.5699 GB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.4061, allocations: 19.91 kB / 0.5699 GB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.4066, allocations: 316.9 kB / 0.5702 GB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4067, allocations: 0 / 0.5702 GB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.4067, allocations: 4 kB / 0.5702 GB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.4067, allocations: 15.31 kB / 0.5703 GB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.4072, allocations: 331.8 kB / 0.5706 GB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.4097, allocations: 1.038 MB / 0.5716 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.41, allocations: 210.5 kB / 0.5718 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.4103, allocations: 140.8 kB / 0.5719 GB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4103, allocations: 4 kB / 0.5719 GB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003673/0.4107, allocations: 228 kB / 0.5721 GB, free: 2.305 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.704e-06/0.4107, allocations: 0 / 0.5721 GB, free: 2.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006357/0.4113, allocations: 322.3 kB / 0.5725 GB, free: 1.984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.4114, allocations: 55.41 kB / 0.5725 GB, free: 1.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.4116, allocations: 174.3 kB / 0.5727 GB, free: 1.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.4116, allocations: 33.7 kB / 0.5727 GB, free: 1.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.4117, allocations: 143.9 kB / 0.5728 GB, free: 1.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.4118, allocations: 55.25 kB / 0.5729 GB, free: 1.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.4118, allocations: 8 kB / 0.5729 GB, free: 1.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4119, allocations: 330.8 kB / 0.5732 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.4122, allocations: 187.7 kB / 0.5734 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.4126, allocations: 277.9 kB / 0.5737 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.413, allocations: 245.8 kB / 0.5739 GB, free: 424 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.413, allocations: 0 / 0.5739 GB, free: 424 kB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008138/0.4138, allocations: 0.5457 MB / 0.5744 GB, free: 15.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.4139, allocations: 37.69 kB / 0.5745 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4139, allocations: 4 kB / 0.5745 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4139, allocations: 5.031 kB / 0.5745 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.4146, allocations: 123.8 kB / 0.5746 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4146, allocations: 7.938 kB / 0.5746 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.415, allocations: 59.64 kB / 0.5747 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.415, allocations: 24.08 kB / 0.5747 GB, free: 15.59 MB / 378.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.4151, allocations: 128.8 kB / 0.5748 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.4152, allocations: 23.73 kB / 0.5748 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.4153, allocations: 37.66 kB / 0.5749 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4153, allocations: 0 / 0.5749 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4153, allocations: 2.938 kB / 0.5749 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4153, allocations: 0 / 0.5749 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.4158, allocations: 381.3 kB / 0.5752 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4158, allocations: 0 / 0.5752 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.4164, allocations: 87.86 kB / 0.5753 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4164, allocations: 7.953 kB / 0.5753 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.4164, allocations: 15.97 kB / 0.5753 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4164, allocations: 2.25 kB / 0.5753 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4164, allocations: 0 / 0.5753 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.4172, allocations: 0.4934 MB / 0.5758 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.4172, allocations: 96.8 kB / 0.5759 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.4173, allocations: 19.94 kB / 0.5759 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.4176, allocations: 31.95 kB / 0.576 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.4177, allocations: 23.95 kB / 0.576 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.4177, allocations: 7.984 kB / 0.576 GB, free: 14.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.09e-05/0.4178, allocations: 128.9 kB / 0.5761 GB, free: 14.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4178, allocations: 0 / 0.5761 GB, free: 14.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.4181, allocations: 56 kB / 0.5762 GB, free: 13.99 MB / 378.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009971/0.4191, allocations: 1.038 MB / 0.5772 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.4198, allocations: 458.6 kB / 0.5776 GB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4198, allocations: 128 / 0.5776 GB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.42, allocations: 155.9 kB / 0.5778 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.4202, allocations: 14.67 kB / 0.5778 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.4212, allocations: 0.5443 MB / 0.5783 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4216, allocations: 0.7363 MB / 0.579 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003028/0.4219, allocations: 118 kB / 0.5791 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.4221, allocations: 51.39 kB / 0.5792 GB, free: 10.8 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4221, allocations: 3.938 kB / 0.5792 GB, free: 10.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.4378, allocations: 4.262 MB / 0.5834 GB, free: 6.715 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.438, allocations: 160.5 kB / 0.5835 GB, free: 6.488 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.236, allocations: 3.938 kB / 0.5835 GB, free: 6.484 MB / 378.7 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/linux/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)