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: translateModel(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") translateModel(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 106.7 kB / 16.35 MB, free: 5.824 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.001365/0.001366, allocations: 191 kB / 17.29 MB, free: 5.48 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.494/1.494, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0668/0.0668, allocations: 10.97 MB / 281.5 MB, free: 1.02 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02/0.02, allocations: 4.232 MB / 335.2 MB, free: 11.17 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.002815/0.002815, allocations: 71.44 kB / 398 MB, free: 82.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1041, allocations: 49.74 MB / 447.7 MB, free: 33.17 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.002518/0.1067, allocations: 1.45 MB / 449.2 MB, free: 31.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.1075, allocations: 0.5698 MB / 449.8 MB, free: 31.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.1076, allocations: 0 / 449.8 MB, free: 31.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.1077, allocations: 7.938 kB / 449.8 MB, free: 31.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1079, allocations: 35.83 kB / 449.8 MB, free: 31.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1081, allocations: 71.83 kB / 449.9 MB, free: 31.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.1084, allocations: 355.5 kB / 450.2 MB, free: 30.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.1084, allocations: 8.125 kB / 450.2 MB, free: 30.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1086, allocations: 119.8 kB / 450.3 MB, free: 30.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1087, allocations: 111.7 kB / 450.5 MB, free: 30.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.1088, allocations: 24 kB / 450.5 MB, free: 30.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.1088, allocations: 24 kB / 450.5 MB, free: 30.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.461e-05/0.1089, allocations: 87.83 kB / 450.6 MB, free: 30.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.706e-05/0.109, allocations: 95.59 kB / 450.7 MB, free: 30.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1092, allocations: 235.3 kB / 450.9 MB, free: 29.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1092, allocations: 3.984 kB / 450.9 MB, free: 29.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1092, allocations: 0 / 450.9 MB, free: 29.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1092, allocations: 0 / 450.9 MB, free: 29.97 MB / 318.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.001769/0.111, allocations: 0.6606 MB / 451.6 MB, free: 29.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.184e-05/0.111, allocations: 8.031 kB / 451.6 MB, free: 29.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.1111, allocations: 20.69 kB / 451.6 MB, free: 29.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1113, allocations: 232.1 kB / 451.8 MB, free: 28.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1113, allocations: 12.23 kB / 451.8 MB, free: 28.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.1114, allocations: 20.38 kB / 451.9 MB, free: 28.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.1119, allocations: 321.5 kB / 452.2 MB, free: 28.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1119, allocations: 0 / 452.2 MB, free: 28.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.1119, allocations: 7.984 kB / 452.2 MB, free: 28.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.112, allocations: 16 kB / 452.2 MB, free: 28.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.1125, allocations: 351.8 kB / 452.5 MB, free: 28.24 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.1144, allocations: 0.9871 MB / 453.5 MB, free: 27.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.1148, allocations: 238.4 kB / 453.8 MB, free: 26.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.115, allocations: 148.8 kB / 453.9 MB, free: 26.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.115, allocations: 4 kB / 453.9 MB, free: 26.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/0.1154, allocations: 251.3 kB / 454.2 MB, free: 26.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.1154, allocations: 0 / 454.2 MB, free: 26.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008167/0.1162, allocations: 485.2 kB / 454.6 MB, free: 26.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.1163, allocations: 51.41 kB / 454.7 MB, free: 26.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1164, allocations: 187.2 kB / 454.9 MB, free: 25.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1164, allocations: 29.7 kB / 454.9 MB, free: 25.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.1165, allocations: 147.9 kB / 455 MB, free: 25.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.1165, allocations: 55.27 kB / 455.1 MB, free: 25.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1166, allocations: 85.56 kB / 455.2 MB, free: 25.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.1167, allocations: 334.8 kB / 455.5 MB, free: 25.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.117, allocations: 195.9 kB / 455.7 MB, free: 24.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.1173, allocations: 297.6 kB / 456 MB, free: 24.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.1179, allocations: 0.5041 MB / 456.5 MB, free: 24.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1179, allocations: 3.938 kB / 456.5 MB, free: 24.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007763/0.1187, allocations: 0.5771 MB / 457.1 MB, free: 23.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.1187, allocations: 37.69 kB / 457.1 MB, free: 23.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1187, allocations: 4 kB / 457.1 MB, free: 23.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1188, allocations: 7.938 kB / 457.1 MB, free: 23.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.1193, allocations: 120.1 kB / 457.2 MB, free: 23.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1194, allocations: 8 kB / 457.2 MB, free: 23.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.1197, allocations: 59.64 kB / 457.3 MB, free: 23.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.1197, allocations: 19.98 kB / 457.3 MB, free: 23.23 MB / 318.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.0001137/0.1199, allocations: 153.6 kB / 457.5 MB, free: 23.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.1199, allocations: 19.8 kB / 457.5 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.12, allocations: 37.53 kB / 457.5 MB, free: 23.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.12, allocations: 0 / 457.5 MB, free: 23.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.12, allocations: 7.875 kB / 457.5 MB, free: 23.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.12, allocations: 4 kB / 457.5 MB, free: 23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.1203, allocations: 385.1 kB / 457.9 MB, free: 22.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1203, allocations: 0 / 457.9 MB, free: 22.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.1209, allocations: 79.86 kB / 458 MB, free: 22.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1209, allocations: 0 / 458 MB, free: 22.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.1209, allocations: 15.97 kB / 458 MB, free: 22.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1209, allocations: 3.984 kB / 458 MB, free: 22.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1209, allocations: 0 / 458 MB, free: 22.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.1217, allocations: 0.5239 MB / 458.5 MB, free: 21.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.1218, allocations: 100.8 kB / 458.6 MB, free: 21.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.1219, allocations: 4.188 kB / 458.6 MB, free: 21.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.1221, allocations: 35.94 kB / 458.7 MB, free: 21.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.1222, allocations: 19.91 kB / 458.7 MB, free: 21.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.1223, allocations: 11.98 kB / 458.7 MB, free: 21.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.131e-05/0.1223, allocations: 127.9 kB / 458.8 MB, free: 21.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1223, allocations: 4 kB / 458.8 MB, free: 21.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1226, allocations: 56 kB / 458.9 MB, free: 21.57 MB / 318.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.0001023/0.1227, allocations: 103.2 kB / 459 MB, free: 21.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.1234, allocations: 487.3 kB / 459.5 MB, free: 20.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1235, allocations: 3.938 kB / 459.5 MB, free: 20.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.1237, allocations: 163.8 kB / 459.6 MB, free: 20.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.124, allocations: 19.92 kB / 459.6 MB, free: 20.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.1247, allocations: 0.5376 MB / 460.2 MB, free: 20.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.1249, allocations: 0.7397 MB / 460.9 MB, free: 19.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.1251, allocations: 113.8 kB / 461 MB, free: 19.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1252, allocations: 31.41 kB / 461.1 MB, free: 19.32 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1253, allocations: 0 / 461.1 MB, free: 19.32 MB / 318.1 MB Notification: Performance of Templates: time 0.004856/0.1301, allocations: 2.478 MB / 463.5 MB, free: 16.84 MB / 318.1 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.makefile (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 & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe 2>&1)