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.01055/0.01055, allocations: 95.98 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.002196/0.002196, allocations: 198.9 kB / 16.68 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.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07235/0.07235, allocations: 10.97 MB / 280.9 MB, free: 10.14 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02039/0.02039, allocations: 4.244 MB / 334.6 MB, free: 29.03 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.00209/0.00209, allocations: 71.11 kB / 447.1 MB, free: 44.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1018, allocations: 49.73 MB / 496.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.00376/0.1057, allocations: 1.459 MB / 498.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1071, allocations: 0.5542 MB / 498.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.1072, allocations: 0 / 498.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1074, allocations: 11.86 kB / 498.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.1077, allocations: 47.77 kB / 498.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1081, allocations: 71.78 kB / 498.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005546/0.1086, allocations: 355.5 kB / 499.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.1087, allocations: 8.125 kB / 499.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.1089, allocations: 123.8 kB / 499.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.1093, allocations: 115.7 kB / 499.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.819e-05/0.1093, allocations: 20 kB / 499.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.1094, allocations: 24 kB / 499.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1096, allocations: 91.77 kB / 499.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.1098, allocations: 87.67 kB / 499.7 MB, free: 11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.1102, allocations: 235.3 kB / 500 MB, free: 10.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1102, allocations: 3.938 kB / 500 MB, free: 10.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1102, allocations: 0 / 500 MB, free: 10.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1103, allocations: 0 / 500 MB, free: 10.77 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.002767/0.113, allocations: 0.6721 MB / 0.4889 GB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.1131, allocations: 12.03 kB / 0.4889 GB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.377e-05/0.1132, allocations: 46.73 kB / 0.489 GB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.1133, allocations: 12.89 kB / 0.489 GB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.1137, allocations: 228.2 kB / 0.4892 GB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.1138, allocations: 12.38 kB / 0.4892 GB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/0.1139, allocations: 20.33 kB / 0.4892 GB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009016/0.1148, allocations: 333.1 kB / 0.4896 GB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.1148, allocations: 0 / 0.4896 GB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.1149, allocations: 4 kB / 0.4896 GB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/0.1149, allocations: 19.97 kB / 0.4896 GB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/0.1159, allocations: 347.8 kB / 0.4899 GB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.119, allocations: 0.9834 MB / 0.4909 GB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.1198, allocations: 249.7 kB / 0.4911 GB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/0.1202, allocations: 148.8 kB / 0.4912 GB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.1203, allocations: 8 kB / 0.4913 GB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.1209, allocations: 231.2 kB / 0.4915 GB, free: 7.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 3.627e-06/0.1209, allocations: 4 kB / 0.4915 GB, free: 7.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001504/0.1224, allocations: 489.4 kB / 0.4919 GB, free: 6.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.1225, allocations: 55.39 kB / 0.492 GB, free: 6.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.1228, allocations: 187.3 kB / 0.4922 GB, free: 6.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.1228, allocations: 33.64 kB / 0.4922 GB, free: 6.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.123, allocations: 148.2 kB / 0.4924 GB, free: 6.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.1231, allocations: 63.58 kB / 0.4924 GB, free: 6.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.1233, allocations: 85.61 kB / 0.4925 GB, free: 6.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1235, allocations: 330.8 kB / 0.4928 GB, free: 5.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.124, allocations: 195.9 kB / 0.493 GB, free: 5.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.1246, allocations: 293.7 kB / 0.4933 GB, free: 5.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.1258, allocations: 0.5079 MB / 0.4938 GB, free: 4.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1258, allocations: 4 kB / 0.4938 GB, free: 4.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0015/0.1273, allocations: 0.5693 MB / 0.4943 GB, free: 4.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.1274, allocations: 33.7 kB / 0.4944 GB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1274, allocations: 352 / 0.4944 GB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.1275, allocations: 12 kB / 0.4944 GB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/0.1284, allocations: 123.7 kB / 0.4945 GB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.1284, allocations: 7.938 kB / 0.4945 GB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.1289, allocations: 67.61 kB / 0.4946 GB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.129, allocations: 19.98 kB / 0.4946 GB, free: 3.957 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.0002383/0.1292, allocations: 145.7 kB / 0.4947 GB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.1293, allocations: 11.91 kB / 0.4947 GB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.1295, allocations: 45.52 kB / 0.4948 GB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1295, allocations: 4 kB / 0.4948 GB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1295, allocations: 0 / 0.4948 GB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1295, allocations: 0 / 0.4948 GB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.1301, allocations: 385.2 kB / 0.4951 GB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1301, allocations: 0 / 0.4951 GB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.1307, allocations: 83.8 kB / 0.4952 GB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1307, allocations: 0 / 0.4952 GB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.1307, allocations: 19.97 kB / 0.4952 GB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1307, allocations: 0 / 0.4952 GB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1308, allocations: 4 kB / 0.4953 GB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1319, allocations: 0.5238 MB / 0.4958 GB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.1319, allocations: 85.06 kB / 0.4958 GB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.132, allocations: 15.98 kB / 0.4959 GB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.1323, allocations: 27.95 kB / 0.4959 GB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.1324, allocations: 27.95 kB / 0.4959 GB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.1324, allocations: 7.984 kB / 0.4959 GB, free: 2.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1325, allocations: 132.9 kB / 0.496 GB, free: 2.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1326, allocations: 0 / 0.496 GB, free: 2.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1329, allocations: 48.09 kB / 0.4961 GB, free: 2.305 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.001939/0.1348, allocations: 1.073 MB / 0.4971 GB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.1361, allocations: 475.5 kB / 0.4976 GB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.1361, allocations: 8.188 kB / 0.4976 GB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.1367, allocations: 163.8 kB / 0.4978 GB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.137, allocations: 22.17 kB / 0.4978 GB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/0.1435, allocations: 3.204 MB / 0.5009 GB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.1441, allocations: 0.7359 MB / 0.5016 GB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004394/0.1446, 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.0002179/0.1448, allocations: 55.39 kB / 0.5018 GB, free: 12.24 MB / 350.1 MB Notification: Performance of SimCode: time 3.065e-06/0.1448, allocations: 0 / 0.5018 GB, free: 12.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.1792, allocations: 4.761 MB / 0.5064 GB, free: 7.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.467, allocations: 0.7031 kB / 0.5064 GB, free: 7.516 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)