Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPipes.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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008427/0.0008428, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005378/0.005378, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.451/1.451, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009608/0.009608, allocations: 1.924 MB / 272.7 MB, free: 3.293 MB / 222.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.0007941/0.0007941, allocations: 16 kB / 331.5 MB, free: 33.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.09102, allocations: 48.1 MB / 379.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.003422/0.09451, allocations: 2.988 MB / 382.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.09614, allocations: 0.8393 MB / 383.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.09627, allocations: 4 kB / 383.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.312e-05/0.09636, allocations: 35.73 kB / 383.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.09663, allocations: 103.2 kB / 383.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.09692, allocations: 87.91 kB / 383.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.0973, allocations: 403 kB / 384 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.09742, allocations: 53 kB / 384.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.09761, allocations: 143.4 kB / 384.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.09779, allocations: 147.3 kB / 384.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.09783, allocations: 16 kB / 384.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.09791, allocations: 31.97 kB / 384.4 MB, free: 12 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.09796, allocations: 51.77 kB / 384.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.0981, allocations: 180.8 kB / 384.6 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.09837, allocations: 306.8 kB / 384.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.09839, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09839, allocations: 0 / 384.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.0984, allocations: 0 / 384.9 MB, free: 11.46 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008906/0.0993, allocations: 0.573 MB / 385.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.09934, allocations: 12.03 kB / 385.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.09939, allocations: 32.56 kB / 385.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.09963, allocations: 263.7 kB / 385.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.09965, allocations: 16.94 kB / 385.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.09971, allocations: 24.38 kB / 385.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.1001, allocations: 241.1 kB / 386.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1001, allocations: 0 / 386.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.1002, allocations: 8 kB / 386.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.1002, allocations: 11.94 kB / 386.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.1005, allocations: 186.2 kB / 386.3 MB, free: 10.01 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1016, allocations: 0.7484 MB / 387 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.1022, allocations: 314.6 kB / 387.4 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.1025, allocations: 156.8 kB / 387.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1025, allocations: 4 kB / 387.5 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1025, allocations: 34.56 kB / 387.5 MB, free: 8.691 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.222e-06/0.1026, allocations: 0 / 387.5 MB, free: 8.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.005093/0.1077, allocations: 1.567 MB / 389.1 MB, free: 7.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1077, allocations: 59.39 kB / 389.2 MB, free: 6.957 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1079, allocations: 229 kB / 389.4 MB, free: 6.723 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.108, allocations: 33.7 kB / 389.4 MB, free: 6.684 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.108, allocations: 132.8 kB / 389.6 MB, free: 6.551 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.1081, allocations: 122.2 kB / 389.7 MB, free: 6.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1082, allocations: 29.7 kB / 389.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1083, allocations: 338.8 kB / 390 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1085, allocations: 99.89 kB / 390.1 MB, free: 5.957 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.1087, allocations: 99.47 kB / 390.2 MB, free: 5.859 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.1091, allocations: 229.2 kB / 390.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1091, allocations: 3.938 kB / 390.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000806/0.1099, allocations: 406.2 kB / 390.9 MB, free: 5.219 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.935e-05/0.11, allocations: 94.94 kB / 390.9 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.11, allocations: 0 / 390.9 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.1116, allocations: 281.4 kB / 391.2 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.1122, allocations: 95.88 kB / 391.3 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.1135, allocations: 1.855 MB / 393.2 MB, free: 2.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1137, allocations: 8.031 kB / 393.2 MB, free: 2.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.1137, allocations: 12 kB / 393.2 MB, free: 2.797 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.1138, allocations: 4 kB / 393.2 MB, free: 2.793 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001013/0.1148, allocations: 397.1 kB / 393.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.1148, allocations: 0 / 393.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007884/0.1156, allocations: 189.5 kB / 393.8 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.1159, allocations: 67.95 kB / 393.8 MB, free: 2.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/0.1197, allocations: 3.61 MB / 397.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.1199, allocations: 16.12 kB / 397.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.1199, allocations: 11.94 kB / 397.5 MB, free: 14.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.1201, allocations: 217.1 kB / 397.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.1202, allocations: 27.66 kB / 397.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008848/0.121, allocations: 418.7 kB / 398.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1211, allocations: 4 kB / 398.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1211, allocations: 0 / 398.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1211, allocations: 3.984 kB / 398.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.1215, allocations: 361.4 kB / 398.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1215, allocations: 0 / 398.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.1221, allocations: 83.88 kB / 398.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.1235, allocations: 249.9 kB / 398.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.1235, allocations: 7.938 kB / 398.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.1248, allocations: 1.855 MB / 400.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1249, allocations: 3.984 kB / 400.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1259, allocations: 0.6184 MB / 401.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.1261, allocations: 132.8 kB / 401.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.1261, allocations: 8 kB / 401.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.1263, allocations: 8 kB / 401.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.1264, allocations: 19.97 kB / 401.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1264, allocations: 15.94 kB / 401.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1266, allocations: 168.5 kB / 401.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1266, allocations: 3.938 kB / 401.6 MB, free: 9.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005892/0.1272, allocations: 140 kB / 401.8 MB, free: 9.727 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipeSegment1.p,pipeSegment2.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.1274, allocations: 113.7 kB / 401.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.1292, allocations: 0.7661 MB / 402.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.1292, allocations: 4 kB / 402.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007153/0.1299, allocations: 207.8 kB / 402.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1304, allocations: 40.42 kB / 402.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1319, allocations: 1.003 MB / 403.9 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1323, allocations: 0.7721 MB / 404.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.1324, allocations: 22.28 kB / 404.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1325, allocations: 15.44 kB / 404.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1325, allocations: 0 / 404.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of Templates: time 0.009012/0.1415, allocations: 5.019 MB / 409.7 MB, free: 1.695 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestPipes.makefile Environment - environmentSimulation: (rm -f MEV_MEV.Test.TestPipes.pipe ; mkfifo MEV_MEV.Test.TestPipes.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipes.pipe >> ../files/MEV_MEV.Test.TestPipes.sim & ./MEV_MEV.Test.TestPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPipes.pipe 2>&1) Environment - environmentSimulation: