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.005916/0.005917, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001314/0.001315, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.516/1.516, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07214/0.07214, allocations: 10.99 MB / 280.9 MB, free: 10.12 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01809/0.01809, 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.001465/0.001465, allocations: 65.53 kB / 447.1 MB, free: 44.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 49.74 MB / 496.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.002756/0.1104, allocations: 1.462 MB / 498.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1114, allocations: 0.5542 MB / 498.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.1115, allocations: 0 / 498.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.1116, allocations: 15.86 kB / 498.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.1119, allocations: 39.78 kB / 498.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1122, allocations: 67.84 kB / 498.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.1127, allocations: 359.5 kB / 499.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.1128, allocations: 4.188 kB / 499.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1129, allocations: 123.8 kB / 499.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.1131, allocations: 107.8 kB / 499.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.1132, allocations: 27.98 kB / 499.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.1133, allocations: 27.94 kB / 499.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1134, allocations: 87.78 kB / 499.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1135, allocations: 87.67 kB / 499.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1138, allocations: 235.3 kB / 500 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1138, allocations: 7.938 kB / 500 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1139, allocations: 0 / 500 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1139, allocations: 0 / 500 MB, free: 10.75 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.002284/0.1162, allocations: 0.6658 MB / 0.4889 GB, free: 10.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1162, allocations: 8.031 kB / 0.4889 GB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.1163, allocations: 46.73 kB / 0.489 GB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.1164, allocations: 16.75 kB / 0.489 GB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.1167, allocations: 236 kB / 0.4892 GB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1168, allocations: 12.36 kB / 0.4892 GB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.1168, allocations: 16.38 kB / 0.4892 GB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.1175, allocations: 341.1 kB / 0.4896 GB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1175, allocations: 0 / 0.4896 GB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.1175, allocations: 4 kB / 0.4896 GB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.1176, allocations: 15.98 kB / 0.4896 GB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.1182, allocations: 347.8 kB / 0.4899 GB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.1206, allocations: 0.9794 MB / 0.4909 GB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.1212, allocations: 242.3 kB / 0.4911 GB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.1214, allocations: 156.8 kB / 0.4912 GB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1215, allocations: 3.984 kB / 0.4912 GB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.1219, allocations: 235.2 kB / 0.4915 GB, free: 7.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.264e-06/0.122, allocations: 0 / 0.4915 GB, free: 7.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001063/0.123, allocations: 493 kB / 0.4919 GB, free: 6.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.1231, allocations: 59.39 kB / 0.492 GB, free: 6.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1233, allocations: 179.3 kB / 0.4922 GB, free: 6.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.1233, allocations: 33.64 kB / 0.4922 GB, free: 6.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.1234, allocations: 147.8 kB / 0.4923 GB, free: 6.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.1235, allocations: 63.19 kB / 0.4924 GB, free: 6.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.1237, allocations: 81.66 kB / 0.4925 GB, free: 6.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1238, allocations: 330.8 kB / 0.4928 GB, free: 5.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.1242, allocations: 195.9 kB / 0.493 GB, free: 5.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.1247, allocations: 297.7 kB / 0.4933 GB, free: 5.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.1255, allocations: 0.5001 MB / 0.4938 GB, free: 4.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1255, allocations: 4 kB / 0.4938 GB, free: 4.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001076/0.1266, allocations: 0.5692 MB / 0.4943 GB, free: 4.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.1267, allocations: 33.7 kB / 0.4943 GB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1267, allocations: 4.344 kB / 0.4943 GB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.1267, allocations: 8 kB / 0.4944 GB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.1274, allocations: 127.7 kB / 0.4945 GB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.1274, allocations: 11.92 kB / 0.4945 GB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.1277, allocations: 59.55 kB / 0.4945 GB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.1278, allocations: 19.98 kB / 0.4946 GB, free: 3.953 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.0001789/0.128, allocations: 145.7 kB / 0.4947 GB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.128, allocations: 11.91 kB / 0.4947 GB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1282, allocations: 45.52 kB / 0.4948 GB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1282, allocations: 0 / 0.4948 GB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1282, allocations: 0 / 0.4948 GB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1282, allocations: 0 / 0.4948 GB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.1286, allocations: 393.1 kB / 0.4951 GB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1287, allocations: 0 / 0.4951 GB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.1292, allocations: 75.86 kB / 0.4952 GB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1292, allocations: 0 / 0.4952 GB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.1293, allocations: 19.97 kB / 0.4952 GB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1293, allocations: 0 / 0.4952 GB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1293, allocations: 7.938 kB / 0.4952 GB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009875/0.1303, allocations: 0.5238 MB / 0.4957 GB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.1303, allocations: 88.92 kB / 0.4958 GB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.1304, allocations: 15.98 kB / 0.4958 GB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.1307, allocations: 23.95 kB / 0.4959 GB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.1308, allocations: 27.95 kB / 0.4959 GB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.1308, allocations: 7.984 kB / 0.4959 GB, free: 2.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1309, allocations: 132.9 kB / 0.496 GB, free: 2.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.131, allocations: 0 / 0.496 GB, free: 2.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1313, allocations: 52 kB / 0.4961 GB, free: 2.297 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.001469/0.1327, allocations: 1.069 MB / 0.4971 GB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.1341, allocations: 475.5 kB / 0.4976 GB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1341, allocations: 4.188 kB / 0.4976 GB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.1346, allocations: 163.8 kB / 0.4977 GB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.135, allocations: 26.31 kB / 0.4978 GB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/0.1414, allocations: 3.2 MB / 0.5009 GB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.1419, allocations: 0.7358 MB / 0.5016 GB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.1424, allocations: 109.8 kB / 0.5017 GB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.1426, allocations: 59.38 kB / 0.5018 GB, free: 12.24 MB / 350.1 MB Notification: Performance of SimCode: time 3.957e-06/0.1426, allocations: 0 / 0.5018 GB, free: 12.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.177, allocations: 4.762 MB / 0.5064 GB, free: 7.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.038, allocations: 8.422 kB / 0.5064 GB, free: 7.512 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)