Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPipeSegment.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.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001192/0.001192, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.453/2.453, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01075/0.01075, allocations: 1.92 MB / 272.3 MB, free: 3.387 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.000545/0.000545, allocations: 16 kB / 330.9 MB, free: 33.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09058, allocations: 48.1 MB / 379 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002357/0.09298, allocations: 2.097 MB / 381.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.09406, allocations: 0.6561 MB / 381.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.09415, allocations: 4 kB / 381.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.054e-05/0.09421, allocations: 19.83 kB / 381.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.09441, allocations: 75.33 kB / 381.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.09464, allocations: 43.94 kB / 381.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.09488, allocations: 211.4 kB / 382.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.09502, allocations: 33.67 kB / 382.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.09515, allocations: 71.7 kB / 382.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.09529, allocations: 79.62 kB / 382.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.09532, allocations: 8 kB / 382.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-05/0.09539, allocations: 12 kB / 382.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.09543, allocations: 31.84 kB / 382.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.09548, allocations: 53.64 kB / 382.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.09565, allocations: 127.9 kB / 382.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.09566, allocations: 0 / 382.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09567, allocations: 3.938 kB / 382.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.09568, allocations: 0 / 382.5 MB, free: 13.65 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006996/0.09639, allocations: 470.6 kB / 383 MB, free: 13.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.09643, allocations: 12.03 kB / 383 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.09648, allocations: 19.81 kB / 383 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.0967, allocations: 211.5 kB / 383.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.09673, allocations: 11.95 kB / 383.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.09676, allocations: 12 kB / 383.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.09704, allocations: 137.5 kB / 383.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.09706, allocations: 4 kB / 383.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.09709, allocations: 7.984 kB / 383.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.0971, allocations: 8 kB / 383.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.09732, allocations: 107.9 kB / 383.5 MB, free: 12.57 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.0007451/0.09807, allocations: 0.4922 MB / 384 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.09839, allocations: 162.7 kB / 384.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.09861, allocations: 100.8 kB / 384.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.09865, allocations: 0 / 384.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.09868, allocations: 42.52 kB / 384.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.09868, allocations: 0 / 384.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002355/0.101, allocations: 0.847 MB / 385.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1011, allocations: 59.36 kB / 385.2 MB, free: 10.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1013, allocations: 182.9 kB / 385.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1013, allocations: 29.7 kB / 385.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.1014, allocations: 108.5 kB / 385.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.1014, allocations: 63.09 kB / 385.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.1014, allocations: 4 kB / 385.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1016, allocations: 326.8 kB / 385.9 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.1017, allocations: 47.98 kB / 385.9 MB, free: 9.945 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1018, allocations: 47.97 kB / 386 MB, free: 9.898 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1019, allocations: 56.3 kB / 386 MB, free: 9.844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1019, allocations: 0 / 386 MB, free: 9.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003792/0.1023, allocations: 214.2 kB / 386.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.1023, allocations: 92.78 kB / 386.3 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1023, allocations: 0 / 386.3 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.1029, allocations: 100.8 kB / 386.4 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.1033, allocations: 71.94 kB / 386.5 MB, free: 9.355 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007242/0.1041, allocations: 1.181 MB / 387.7 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1042, allocations: 8.016 kB / 387.7 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.1042, allocations: 8 kB / 387.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.1042, allocations: 4 kB / 387.7 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004365/0.1047, allocations: 180.8 kB / 387.9 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.1047, allocations: 3.938 kB / 387.9 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.1049, allocations: 76.62 kB / 387.9 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1051, allocations: 51.97 kB / 388 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.1067, allocations: 1.651 MB / 389.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.1068, allocations: 8.016 kB / 389.7 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1068, allocations: 8 kB / 389.7 MB, free: 5.996 MB / 286.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.107, allocations: 197.1 kB / 389.9 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.107, allocations: 15.81 kB / 389.9 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005498/0.1076, allocations: 248.1 kB / 390.1 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1076, allocations: 3.953 kB / 390.1 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1076, allocations: 4 kB / 390.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1076, allocations: 0 / 390.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.1079, allocations: 257.6 kB / 390.4 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1079, allocations: 4 kB / 390.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.1083, allocations: 59.95 kB / 390.4 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.1087, allocations: 88.77 kB / 390.5 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1088, allocations: 4 kB / 390.5 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006577/0.1094, allocations: 1.177 MB / 391.7 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1094, allocations: 0 / 391.7 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.1101, allocations: 402.2 kB / 392.1 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.1102, allocations: 108.9 kB / 392.2 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.1102, allocations: 4 kB / 392.2 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.1103, allocations: 16.05 kB / 392.2 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.1104, allocations: 7.984 kB / 392.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1104, allocations: 4 kB / 392.2 MB, free: 3.266 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1105, allocations: 128.1 kB / 392.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1105, allocations: 0 / 392.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.1109, allocations: 72 kB / 392.4 MB, free: 3.07 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pipeSegment.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.1111, allocations: 103.2 kB / 392.5 MB, free: 2.961 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009699/0.112, allocations: 387.1 kB / 392.9 MB, free: 2.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1121, allocations: 0 / 392.9 MB, free: 2.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.1125, allocations: 119.8 kB / 393 MB, free: 2.453 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1128, allocations: 32.06 kB / 393.1 MB, free: 2.422 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009864/0.1138, allocations: 0.6038 MB / 393.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1141, allocations: 0.7285 MB / 394.4 MB, free: 1.039 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.1142, allocations: 13.41 kB / 394.4 MB, free: 1.027 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.449e-05/0.1143, allocations: 15.44 kB / 394.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1143, allocations: 0 / 394.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of Templates: time 0.005412/0.1197, allocations: 2.408 MB / 396.8 MB, free: 14.6 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestPipeSegment.makefile Environment - environmentSimulation: (rm -f MEV_MEV.Test.TestPipeSegment.pipe ; mkfifo MEV_MEV.Test.TestPipeSegment.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipeSegment.pipe >> ../files/MEV_MEV.Test.TestPipeSegment.sim & ./MEV_MEV.Test.TestPipeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPipeSegment.pipe 2>&1) Environment - environmentSimulation: