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.002028/0.002028, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.57/2.57, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.03719/0.03719, allocations: 92.91 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 3.369/3.369, allocations: 10.88 MB / 320.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01669/0.01669, allocations: 4.146 MB / 374.5 MB, free: 79.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.137e-05, allocations: 0 / 432.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 50.76 MB / 483.1 MB, free: 2.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3202/0.437, allocations: 78.74 MB / 0.5487 GB, free: 8.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.4373, allocations: 55.97 kB / 0.5487 GB, free: 8.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03881/0.4761, allocations: 12.74 MB / 0.5612 GB, free: 11.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4761, allocations: 0 / 0.5612 GB, free: 11.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.4761, allocations: 4 kB / 0.5612 GB, free: 11.91 MB / 362.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.001482/0.4776, allocations: 0.6364 MB / 0.5618 GB, free: 11.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4777, allocations: 20.02 kB / 0.5618 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.4778, allocations: 22.05 kB / 0.5618 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.4781, allocations: 230.8 kB / 0.5621 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4781, allocations: 4 kB / 0.5621 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.4782, allocations: 18.83 kB / 0.5621 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004748/0.4786, allocations: 327.8 kB / 0.5624 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.4791, allocations: 298.5 kB / 0.5627 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.4791, allocations: 0 / 0.5627 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.4791, allocations: 0 / 0.5627 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.4792, allocations: 15.98 kB / 0.5627 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.4815, allocations: 1.01 MB / 0.5637 GB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.4818, allocations: 206.9 kB / 0.5639 GB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.482, allocations: 140.8 kB / 0.564 GB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.482, allocations: 4 kB / 0.564 GB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.4823, allocations: 216.1 kB / 0.5642 GB, free: 8.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.4823, allocations: 0 / 0.5642 GB, free: 8.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005451/0.4829, allocations: 314.8 kB / 0.5645 GB, free: 8.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.4829, allocations: 63.39 kB / 0.5646 GB, free: 8.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4831, allocations: 159 kB / 0.5647 GB, free: 8.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.4831, allocations: 25.7 kB / 0.5648 GB, free: 8.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.4832, allocations: 144.8 kB / 0.5649 GB, free: 7.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.4833, allocations: 55.27 kB / 0.5649 GB, free: 7.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.4833, allocations: 3.938 kB / 0.5649 GB, free: 7.871 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4834, allocations: 338.8 kB / 0.5653 GB, free: 7.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.4837, allocations: 175.7 kB / 0.5654 GB, free: 7.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.484, allocations: 265.5 kB / 0.5657 GB, free: 7.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.4843, allocations: 208.1 kB / 0.5659 GB, free: 6.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4843, allocations: 4 kB / 0.5659 GB, free: 6.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007232/0.485, allocations: 0.4908 MB / 0.5664 GB, free: 6.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.4851, allocations: 33.7 kB / 0.5664 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4851, allocations: 4.812 kB / 0.5664 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4851, allocations: 8 kB / 0.5664 GB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.4858, allocations: 123.8 kB / 0.5665 GB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.4858, allocations: 7.984 kB / 0.5665 GB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.4862, allocations: 59.77 kB / 0.5666 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.4863, allocations: 19.98 kB / 0.5666 GB, free: 6.109 MB / 362.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 () * 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.0001069/0.4864, allocations: 122.4 kB / 0.5667 GB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004603/0.4868, allocations: 320 kB / 0.567 GB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.4869, allocations: 11.81 kB / 0.567 GB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.487, allocations: 40.73 kB / 0.5671 GB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.487, allocations: 4 kB / 0.5671 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.487, allocations: 0 / 0.5671 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.487, allocations: 0 / 0.5671 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.4874, allocations: 361.8 kB / 0.5674 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4874, allocations: 0 / 0.5674 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.488, allocations: 87.8 kB / 0.5675 GB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4881, allocations: 3.953 kB / 0.5675 GB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.4881, allocations: 11.98 kB / 0.5675 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4881, allocations: 5.047 kB / 0.5675 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4881, allocations: 0 / 0.5675 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.4888, allocations: 494.7 kB / 0.568 GB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.4889, allocations: 92.89 kB / 0.5681 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.4889, allocations: 11.94 kB / 0.5681 GB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.4893, allocations: 39.94 kB / 0.5682 GB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.4893, allocations: 21.17 kB / 0.5682 GB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.4894, allocations: 7.984 kB / 0.5682 GB, free: 4.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.011e-05/0.4895, allocations: 124.1 kB / 0.5683 GB, free: 4.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4895, allocations: 0 / 0.5683 GB, free: 4.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.4898, allocations: 60.08 kB / 0.5684 GB, free: 4.25 MB / 362.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) * 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.0009487/0.4907, allocations: 1.027 MB / 0.5694 GB, free: 3.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.4913, allocations: 431.8 kB / 0.5698 GB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4913, allocations: 8.062 kB / 0.5698 GB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.4916, allocations: 149 kB / 0.5699 GB, free: 2.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.4918, allocations: 16.97 kB / 0.5699 GB, free: 2.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.4926, allocations: 0.5347 MB / 0.5705 GB, free: 2.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.4929, allocations: 0.7361 MB / 0.5712 GB, free: 1.262 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.4932, allocations: 110 kB / 0.5713 GB, free: 1.156 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.4934, allocations: 51.41 kB / 0.5713 GB, free: 1.105 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4934, allocations: 0 / 0.5713 GB, free: 1.105 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.5133, allocations: 3.883 MB / 0.5751 GB, free: 13.27 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.5136, allocations: 151.1 kB / 0.5753 GB, free: 13.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.21, allocations: 0 / 0.5753 GB, free: 13.07 MB / 378.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)