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.006446/0.006446, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001206/0.001206, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07349/0.07349, allocations: 10.97 MB / 280.9 MB, free: 10.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01806/0.01806, allocations: 4.24 MB / 334.6 MB, free: 29.01 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.002315/0.002315, allocations: 66.33 kB / 447.1 MB, free: 44.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1139, allocations: 49.74 MB / 496.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.00315/0.1171, allocations: 1.465 MB / 498.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009871/0.1181, allocations: 0.5503 MB / 498.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.1182, allocations: 4 kB / 498.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1183, allocations: 15.86 kB / 498.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1186, allocations: 31.84 kB / 498.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1188, allocations: 75.78 kB / 498.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.1192, allocations: 355.5 kB / 499.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.1193, allocations: 4.188 kB / 499.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1195, allocations: 119.8 kB / 499.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.1197, allocations: 115.7 kB / 499.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.1198, allocations: 24 kB / 499.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.396e-05/0.1199, allocations: 24 kB / 499.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.12, allocations: 91.72 kB / 499.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.1201, allocations: 87.67 kB / 499.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1204, allocations: 239.3 kB / 500 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1204, allocations: 0 / 500 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1204, allocations: 0 / 500 MB, free: 10.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1204, allocations: 0 / 500 MB, free: 10.78 MB / 334.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.00205/0.1225, allocations: 0.6658 MB / 0.4889 GB, free: 10.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1225, allocations: 8.031 kB / 0.4889 GB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.1226, allocations: 46.69 kB / 0.489 GB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.1226, allocations: 16.75 kB / 0.489 GB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.123, allocations: 240 kB / 0.4892 GB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.123, allocations: 8.375 kB / 0.4892 GB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.1231, allocations: 24.36 kB / 0.4892 GB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.1236, allocations: 333.2 kB / 0.4896 GB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1237, allocations: 3.938 kB / 0.4896 GB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.1237, allocations: 0 / 0.4896 GB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.1237, allocations: 19.98 kB / 0.4896 GB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.1244, allocations: 347.8 kB / 0.4899 GB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.1267, allocations: 0.9793 MB / 0.4909 GB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.1272, allocations: 246.3 kB / 0.4911 GB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.1275, allocations: 152.8 kB / 0.4912 GB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1275, allocations: 0 / 0.4912 GB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.128, allocations: 239.2 kB / 0.4915 GB, free: 7.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.128, allocations: 0 / 0.4915 GB, free: 7.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001121/0.1291, allocations: 489.3 kB / 0.4919 GB, free: 6.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.1292, allocations: 55.41 kB / 0.492 GB, free: 6.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1294, allocations: 183.3 kB / 0.4922 GB, free: 6.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.1294, allocations: 33.7 kB / 0.4922 GB, free: 6.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.1296, allocations: 143.8 kB / 0.4923 GB, free: 6.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.1296, allocations: 71.17 kB / 0.4924 GB, free: 6.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.1298, allocations: 85.66 kB / 0.4925 GB, free: 6.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1299, allocations: 326.8 kB / 0.4928 GB, free: 5.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.1303, allocations: 199.9 kB / 0.493 GB, free: 5.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.1307, allocations: 289.7 kB / 0.4933 GB, free: 5.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.1315, allocations: 0.4962 MB / 0.4937 GB, free: 4.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1316, allocations: 8 kB / 0.4938 GB, free: 4.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00104/0.1326, allocations: 0.5731 MB / 0.4943 GB, free: 4.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.1327, allocations: 33.7 kB / 0.4943 GB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.1327, allocations: 8.328 kB / 0.4944 GB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1327, allocations: 8 kB / 0.4944 GB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.1334, allocations: 115.8 kB / 0.4945 GB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.1334, allocations: 11.94 kB / 0.4945 GB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.1338, allocations: 63.53 kB / 0.4945 GB, free: 4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.1338, allocations: 15.98 kB / 0.4946 GB, free: 3.984 MB / 334.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.0001581/0.134, allocations: 153.6 kB / 0.4947 GB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.134, allocations: 11.91 kB / 0.4947 GB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.1342, allocations: 41.53 kB / 0.4948 GB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1342, allocations: 3.984 kB / 0.4948 GB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1342, allocations: 4 kB / 0.4948 GB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.1342, allocations: 0 / 0.4948 GB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.1346, allocations: 385.1 kB / 0.4951 GB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1346, allocations: 0 / 0.4951 GB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.1352, allocations: 75.86 kB / 0.4952 GB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1352, allocations: 0 / 0.4952 GB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.1352, allocations: 19.97 kB / 0.4952 GB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1352, allocations: 0 / 0.4952 GB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1353, allocations: 8 kB / 0.4952 GB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009834/0.1362, allocations: 0.5265 MB / 0.4957 GB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.1363, allocations: 88.92 kB / 0.4958 GB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.1364, allocations: 15.98 kB / 0.4958 GB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.1367, allocations: 31.95 kB / 0.4959 GB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.1368, allocations: 19.95 kB / 0.4959 GB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1368, allocations: 11.98 kB / 0.4959 GB, free: 2.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1369, allocations: 124.9 kB / 0.496 GB, free: 2.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1369, allocations: 0 / 0.496 GB, free: 2.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1372, allocations: 56 kB / 0.4961 GB, free: 2.324 MB / 334.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.001287/0.1385, allocations: 1.069 MB / 0.4971 GB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000874/0.1394, allocations: 471.5 kB / 0.4976 GB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1394, allocations: 4.188 kB / 0.4976 GB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.1397, allocations: 167.8 kB / 0.4977 GB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.14, allocations: 18.17 kB / 0.4978 GB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.1442, allocations: 3.204 MB / 0.5009 GB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1445, allocations: 0.7323 MB / 0.5016 GB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.1448, allocations: 109.8 kB / 0.5017 GB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.145, allocations: 59.39 kB / 0.5018 GB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.145, allocations: 3.938 kB / 0.5018 GB, free: 12.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.1678, allocations: 4.832 MB / 0.5065 GB, free: 7.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.736, allocations: 4.641 kB / 0.5065 GB, free: 7.461 MB / 350.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)