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.01001/0.01001, allocations: 169.7 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.496/2.496, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.001272/0.001272, allocations: 86.27 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0712/0.0712, allocations: 10.98 MB / 328.9 MB, free: 11.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.03201/0.03201, allocations: 4.232 MB / 383.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 8 kB / 446.2 MB, free: 43.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1225, allocations: 50.77 MB / 497 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.001923/0.1244, allocations: 1.157 MB / 498.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.126, allocations: 0.5274 MB / 498.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1261, allocations: 0 / 498.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1263, allocations: 7.922 kB / 498.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.1267, allocations: 39.83 kB / 498.7 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.1272, allocations: 55.92 kB / 498.8 MB, free: 7.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.1277, allocations: 279.5 kB / 499 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.147e-05/0.1278, allocations: 8.469 kB / 499 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.1281, allocations: 111.8 kB / 499.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.1284, allocations: 107.7 kB / 499.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.1285, allocations: 12 kB / 499.3 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.199e-05/0.1286, allocations: 15.94 kB / 499.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.1288, allocations: 75.83 kB / 499.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.308e-05/0.1289, allocations: 45.64 kB / 499.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.1292, allocations: 183.6 kB / 499.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1292, allocations: 0 / 499.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1293, allocations: 4 kB / 499.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1293, allocations: 0 / 499.6 MB, free: 6.445 MB / 298.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.003572/0.1329, allocations: 0.6526 MB / 0.4885 GB, free: 5.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.1329, allocations: 8.031 kB / 0.4885 GB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.1331, allocations: 50.55 kB / 0.4886 GB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1332, allocations: 11.81 kB / 0.4886 GB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.1337, allocations: 234.8 kB / 0.4888 GB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.1338, allocations: 15.86 kB / 0.4888 GB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/0.1339, allocations: 16 kB / 0.4888 GB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.135, allocations: 317.9 kB / 0.4891 GB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.135, allocations: 3.938 kB / 0.4891 GB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.1351, allocations: 4 kB / 0.4891 GB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.1352, allocations: 15.98 kB / 0.4892 GB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1365, allocations: 371.8 kB / 0.4895 GB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004768/0.1413, allocations: 1.014 MB / 0.4905 GB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1423, allocations: 250.3 kB / 0.4907 GB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.143, allocations: 161 kB / 0.4909 GB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.143, allocations: 0 / 0.4909 GB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008477/0.1439, allocations: 243.2 kB / 0.4911 GB, free: 2.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 4.098e-06/0.1439, allocations: 0 / 0.4911 GB, free: 2.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.002073/0.146, allocations: 0.4933 MB / 0.4916 GB, free: 2.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.1461, allocations: 59.39 kB / 0.4917 GB, free: 2.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.1464, allocations: 185.1 kB / 0.4918 GB, free: 2.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.1465, allocations: 29.7 kB / 0.4919 GB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1467, allocations: 147.9 kB / 0.492 GB, free: 1.984 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1468, allocations: 59.25 kB / 0.4921 GB, free: 1.926 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.1469, allocations: 4 kB / 0.4921 GB, free: 1.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.1471, allocations: 334.8 kB / 0.4924 GB, free: 1.586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.1479, allocations: 199.9 kB / 0.4926 GB, free: 1.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008722/0.1487, allocations: 301.7 kB / 0.4929 GB, free: 1.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/0.1497, allocations: 265.5 kB / 0.4931 GB, free: 0.793 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.1497, allocations: 0 / 0.4931 GB, free: 0.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002075/0.1518, allocations: 0.5809 MB / 0.4937 GB, free: 204 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.1519, allocations: 37.69 kB / 0.4937 GB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.152, allocations: 7.984 kB / 0.4937 GB, free: 152 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.152, allocations: 4 kB / 0.4937 GB, free: 148 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.1535, allocations: 132.1 kB / 0.4939 GB, free: 16 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.1535, allocations: 7.938 kB / 0.4939 GB, free: 8 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2443/0.3978, allocations: 64.8 kB / 0.4939 GB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/0.3979, allocations: 18.25 kB / 0.4939 GB, free: 18.16 MB / 298.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.3982, allocations: 146 kB / 0.4941 GB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.3983, allocations: 10.5 kB / 0.4941 GB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.3984, allocations: 43.91 kB / 0.4941 GB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3984, allocations: 1.812 kB / 0.4941 GB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3984, allocations: 3.594 kB / 0.4941 GB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3985, allocations: 0.6094 kB / 0.4941 GB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.3991, allocations: 381 kB / 0.4945 GB, free: 17.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3992, allocations: 0 / 0.4945 GB, free: 17.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009827/0.4002, allocations: 83.39 kB / 0.4946 GB, free: 17.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.4002, allocations: 3.953 kB / 0.4946 GB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.4003, allocations: 19.97 kB / 0.4946 GB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4003, allocations: 1.188 kB / 0.4946 GB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4003, allocations: 0 / 0.4946 GB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.402, allocations: 0.5361 MB / 0.4951 GB, free: 17.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.4021, allocations: 90.36 kB / 0.4952 GB, free: 17.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.4022, allocations: 16.58 kB / 0.4952 GB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.4027, allocations: 37.61 kB / 0.4953 GB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.4028, allocations: 21.83 kB / 0.4953 GB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.4029, allocations: 9.156 kB / 0.4953 GB, free: 17.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.403, allocations: 131.5 kB / 0.4954 GB, free: 17.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.403, allocations: 0 / 0.4954 GB, free: 17.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005015/0.4036, allocations: 52.06 kB / 0.4955 GB, free: 17.61 MB / 298.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) * 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 (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.001902/0.4055, allocations: 1.08 MB / 0.4965 GB, free: 17.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.4067, allocations: 489.3 kB / 0.497 GB, free: 16.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4067, allocations: 4.312 kB / 0.497 GB, free: 16.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.4071, allocations: 174.8 kB / 0.4972 GB, free: 16.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.4074, allocations: 22.47 kB / 0.4972 GB, free: 16.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.4107, allocations: 1.807 MB / 0.499 GB, free: 16.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.4109, allocations: 0.7292 MB / 0.4997 GB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.4113, allocations: 111.4 kB / 0.4998 GB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4115, allocations: 54.67 kB / 0.4998 GB, free: 15.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4115, allocations: 3.75 kB / 0.4998 GB, free: 15.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.4293, allocations: 4.304 MB / 0.504 GB, free: 15.27 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.4295, allocations: 198 kB / 0.5042 GB, free: 15.03 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/2.92, allocations: 0 / 0.5042 GB, free: 15.03 MB / 298.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)