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.01049/0.01049, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.002064/0.002064, allocations: 196.2 kB / 16.68 MB, free: 5.523 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.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06739/0.06739, allocations: 10.97 MB / 280.9 MB, free: 1.004 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02022/0.02022, allocations: 4.232 MB / 334.6 MB, free: 11.14 MB / 286.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.001405/0.001405, allocations: 70.23 kB / 447.1 MB, free: 33.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08969, allocations: 49.75 MB / 496.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.004312/0.09405, allocations: 1.444 MB / 498.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.09561, allocations: 0.5581 MB / 498.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.09574, allocations: 0 / 498.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.09598, allocations: 11.86 kB / 498.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.09632, allocations: 39.84 kB / 498.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.09672, allocations: 63.84 kB / 498.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000616/0.09735, allocations: 363.5 kB / 499.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.705e-05/0.09744, allocations: 4.188 kB / 499.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.09774, allocations: 123.8 kB / 499.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.09814, allocations: 119.7 kB / 499.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.09823, allocations: 20 kB / 499.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.296e-05/0.09832, allocations: 24 kB / 499.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.09849, allocations: 79.84 kB / 499.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.0987, allocations: 95.61 kB / 499.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.09912, allocations: 235.6 kB / 500 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.09914, allocations: 0 / 500 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09915, allocations: 0 / 500 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.09917, allocations: 0 / 500 MB, free: 12.22 MB / 350.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.002949/0.1021, allocations: 0.6759 MB / 0.4889 GB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1022, allocations: 12.03 kB / 0.4889 GB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.953e-05/0.1023, allocations: 46.69 kB / 0.489 GB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.922e-05/0.1024, allocations: 20.88 kB / 0.489 GB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.1028, allocations: 224.2 kB / 0.4892 GB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.1028, allocations: 20.3 kB / 0.4892 GB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/0.1029, allocations: 20.33 kB / 0.4892 GB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/0.1039, allocations: 325.2 kB / 0.4895 GB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1039, allocations: 0 / 0.4895 GB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.104, allocations: 8 kB / 0.4895 GB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.365e-05/0.104, allocations: 19.92 kB / 0.4896 GB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1051, allocations: 351.8 kB / 0.4899 GB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/0.1084, allocations: 0.9794 MB / 0.4909 GB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.1092, allocations: 242.3 kB / 0.4911 GB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.1097, allocations: 152.8 kB / 0.4912 GB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1098, allocations: 7.984 kB / 0.4912 GB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/0.1104, allocations: 227.2 kB / 0.4915 GB, free: 8.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.035e-06/0.1104, allocations: 0 / 0.4915 GB, free: 8.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001557/0.112, allocations: 0.4894 MB / 0.4919 GB, free: 8.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.112, allocations: 51.41 kB / 0.492 GB, free: 8.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.1123, allocations: 191.3 kB / 0.4922 GB, free: 7.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.1124, allocations: 29.7 kB / 0.4922 GB, free: 7.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1125, allocations: 144.2 kB / 0.4923 GB, free: 7.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.1126, allocations: 67.56 kB / 0.4924 GB, free: 7.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.1129, allocations: 89.61 kB / 0.4925 GB, free: 7.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.113, allocations: 322.8 kB / 0.4928 GB, free: 7.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.1136, allocations: 203.9 kB / 0.493 GB, free: 7.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.1143, allocations: 301.7 kB / 0.4933 GB, free: 6.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.1155, allocations: 0.4962 MB / 0.4938 GB, free: 6.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1156, allocations: 0 / 0.4938 GB, free: 6.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001494/0.1171, allocations: 0.5732 MB / 0.4943 GB, free: 5.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.1171, allocations: 37.7 kB / 0.4944 GB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1171, allocations: 0 / 0.4944 GB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.1172, allocations: 8 kB / 0.4944 GB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.1178, allocations: 128 kB / 0.4945 GB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1178, allocations: 4 kB / 0.4945 GB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.1182, allocations: 67.67 kB / 0.4946 GB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.1183, allocations: 19.97 kB / 0.4946 GB, free: 5.402 MB / 350.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.0001495/0.1184, allocations: 149.6 kB / 0.4947 GB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.1185, allocations: 11.91 kB / 0.4947 GB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.1186, allocations: 41.52 kB / 0.4948 GB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1186, allocations: 4 kB / 0.4948 GB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1186, allocations: 4 kB / 0.4948 GB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1186, allocations: 0 / 0.4948 GB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.1191, allocations: 381.2 kB / 0.4951 GB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1191, allocations: 0 / 0.4951 GB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/0.1197, allocations: 83.8 kB / 0.4952 GB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1197, allocations: 0 / 0.4952 GB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/0.1198, allocations: 19.97 kB / 0.4952 GB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.1198, allocations: 7.938 kB / 0.4952 GB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1198, allocations: 0 / 0.4952 GB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.1209, allocations: 0.5239 MB / 0.4958 GB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.121, allocations: 89 kB / 0.4958 GB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/0.1211, allocations: 15.98 kB / 0.4959 GB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.1214, allocations: 31.89 kB / 0.4959 GB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1216, allocations: 27.98 kB / 0.4959 GB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.1216, allocations: 7.984 kB / 0.4959 GB, free: 3.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1217, allocations: 132.9 kB / 0.496 GB, free: 3.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1217, allocations: 0 / 0.496 GB, free: 3.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000317/0.1221, allocations: 48 kB / 0.4961 GB, free: 3.738 MB / 350.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.00135/0.1234, allocations: 1.073 MB / 0.4971 GB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008994/0.1243, allocations: 471.1 kB / 0.4976 GB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1243, allocations: 0.6875 kB / 0.4976 GB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.1247, allocations: 171.8 kB / 0.4978 GB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.125, allocations: 19.92 kB / 0.4978 GB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2416/0.3666, allocations: 3.203 MB / 0.5009 GB, free: 19.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.367, allocations: 0.7285 MB / 0.5016 GB, free: 18.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004487/0.3675, allocations: 111.8 kB / 0.5017 GB, free: 18.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.3677, allocations: 59.91 kB / 0.5018 GB, free: 18.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.184e-06/0.3677, allocations: 0 / 0.5018 GB, free: 18.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.3937, allocations: 4.776 MB / 0.5064 GB, free: 18.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.273, allocations: 4.953 kB / 0.5064 GB, free: 18.48 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 & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_PDE_test_UpwindFirstOrder.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe 2>&1)