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.0007903/0.0007903, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005486/0.005486, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.457/1.457, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009172/0.009172, allocations: 1.932 MB / 272.7 MB, free: 3.281 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.0006377/0.0006377, allocations: 16 kB / 331.5 MB, free: 33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09103, allocations: 48.1 MB / 379.6 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002558/0.09362, allocations: 2.189 MB / 381.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.09469, allocations: 0.6792 MB / 382.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.09476, allocations: 0 / 382.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.09481, allocations: 23.83 kB / 382.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.09494, allocations: 47.55 kB / 382.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.09509, allocations: 47.95 kB / 382.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.09532, allocations: 227.3 kB / 382.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.09545, allocations: 25.97 kB / 382.8 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.09559, allocations: 79.66 kB / 382.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.09575, allocations: 83.59 kB / 383 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.09578, allocations: 8 kB / 383 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.09586, allocations: 16 kB / 383 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.0959, allocations: 27.84 kB / 383 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.096, allocations: 113.2 kB / 383.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.09621, allocations: 171.3 kB / 383.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09622, allocations: 0 / 383.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09623, allocations: 0 / 383.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.09624, allocations: 0 / 383.3 MB, free: 13.1 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.0007391/0.09698, allocations: 466.8 kB / 383.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.09703, allocations: 8.031 kB / 383.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.09708, allocations: 16.75 kB / 383.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.09733, allocations: 220.6 kB / 384 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.09737, allocations: 8.375 kB / 384 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.09741, allocations: 16.38 kB / 384 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.09769, allocations: 133.9 kB / 384.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.0977, allocations: 0 / 384.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.09773, allocations: 8 kB / 384.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.09774, allocations: 4 kB / 384.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.09797, allocations: 104 kB / 384.3 MB, free: 12.05 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.0007969/0.09878, allocations: 0.5 MB / 384.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.09911, allocations: 162.7 kB / 384.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.09934, allocations: 96.81 kB / 385 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.09938, allocations: 7.984 kB / 385 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.09942, allocations: 34.56 kB / 385.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.09943, allocations: 0 / 385.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002619/0.102, allocations: 0.8577 MB / 385.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1021, allocations: 55.41 kB / 386 MB, free: 10.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1023, allocations: 186.9 kB / 386.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1023, allocations: 25.7 kB / 386.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.1024, allocations: 120.5 kB / 386.3 MB, free: 9.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.1024, allocations: 63.05 kB / 386.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1025, allocations: 25.64 kB / 386.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1026, allocations: 322.8 kB / 386.7 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1027, allocations: 47.98 kB / 386.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1028, allocations: 51.97 kB / 386.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.1031, allocations: 125.1 kB / 386.9 MB, free: 9.199 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1031, allocations: 0 / 386.9 MB, free: 9.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004512/0.1035, allocations: 226.1 kB / 387.1 MB, free: 8.969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.1036, allocations: 94.12 kB / 387.2 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1036, allocations: 0 / 387.2 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.1043, allocations: 96.77 kB / 387.3 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.1047, allocations: 67.95 kB / 387.4 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007866/0.1055, allocations: 1.189 MB / 388.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1057, allocations: 8.156 kB / 388.6 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1057, allocations: 7.938 kB / 388.6 MB, free: 7.449 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-06/0.1057, allocations: 4 kB / 388.6 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004637/0.1062, allocations: 184.6 kB / 388.8 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1062, allocations: 4 kB / 388.8 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.1065, allocations: 80.73 kB / 388.9 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1067, allocations: 39.97 kB / 388.9 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.1082, allocations: 1.655 MB / 390.6 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.612e-05/0.1083, allocations: 4 kB / 390.6 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1084, allocations: 4.062 kB / 390.6 MB, free: 5.344 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 (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.1085, allocations: 209.1 kB / 390.8 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.1086, allocations: 19.75 kB / 390.8 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/0.1092, allocations: 252.1 kB / 391 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1092, allocations: 0 / 391 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1092, allocations: 7.938 kB / 391.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1092, allocations: 0 / 391.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.1095, allocations: 253.5 kB / 391.3 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1095, allocations: 0 / 391.3 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.1099, allocations: 59.95 kB / 391.4 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/0.1104, allocations: 92.77 kB / 391.4 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1104, allocations: 8.062 kB / 391.5 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006657/0.1111, allocations: 1.189 MB / 392.6 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1111, allocations: 0 / 392.6 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.1118, allocations: 394.2 kB / 393 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.1119, allocations: 112.9 kB / 393.1 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1119, allocations: 0 / 393.1 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1121, allocations: 8 kB / 393.1 MB, free: 2.609 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1121, allocations: 7.984 kB / 393.2 MB, free: 2.602 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1121, allocations: 8 kB / 393.2 MB, free: 2.594 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1122, allocations: 136.1 kB / 393.3 MB, free: 2.461 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1122, allocations: 3.938 kB / 393.3 MB, free: 2.457 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000411/0.1127, allocations: 80.06 kB / 393.4 MB, free: 2.379 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 (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.1128, allocations: 97.62 kB / 393.5 MB, free: 2.277 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.1138, allocations: 406.8 kB / 393.9 MB, free: 1.867 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1138, allocations: 0 / 393.9 MB, free: 1.867 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.1143, allocations: 111.9 kB / 394 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1146, allocations: 27.88 kB / 394 MB, free: 1.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.1156, allocations: 0.6111 MB / 394.6 MB, free: 1.094 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1159, allocations: 0.7206 MB / 395.3 MB, free: 356 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.959e-05/0.116, allocations: 21.41 kB / 395.4 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1161, allocations: 11.44 kB / 395.4 MB, free: 324 kB / 286.1 MB Notification: Performance of SimCode: time 1.492e-06/0.1161, allocations: 0 / 395.4 MB, free: 324 kB / 286.1 MB Notification: Performance of Templates: time 0.005426/0.1215, allocations: 2.491 MB / 397.9 MB, free: 13.83 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: