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.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002012/0.002012, allocations: 191.6 kB / 16.14 MB, free: 6.703 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.557/1.557, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009058/0.009058, allocations: 1.924 MB / 271.3 MB, free: 3.555 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.001217/0.001217, allocations: 63.91 kB / 329.1 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08297, allocations: 47.14 MB / 376.3 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.003398/0.08642, allocations: 2.536 MB / 378.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.08755, allocations: 0.6752 MB / 379.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.08764, allocations: 8 kB / 379.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.795e-05/0.08773, allocations: 15.89 kB / 379.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.08791, allocations: 55.55 kB / 379.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.08813, allocations: 51.88 kB / 379.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.08835, allocations: 215.4 kB / 379.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.08847, allocations: 33.95 kB / 379.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.08861, allocations: 79.7 kB / 380 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.08875, allocations: 91.55 kB / 380 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.08878, allocations: 8 kB / 380 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.08885, allocations: 12 kB / 380.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.08889, allocations: 31.84 kB / 380.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.998e-05/0.08898, allocations: 87.53 kB / 380.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.08918, allocations: 171.4 kB / 380.3 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.08919, allocations: 3.938 kB / 380.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.0892, allocations: 8 kB / 380.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.08921, allocations: 0 / 380.4 MB, free: 13.98 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.000752/0.08997, allocations: 482.7 kB / 380.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.09001, allocations: 8.031 kB / 380.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.09006, allocations: 24.75 kB / 380.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.09029, allocations: 224.7 kB / 381.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.09031, allocations: 12.38 kB / 381.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.09034, allocations: 12.38 kB / 381.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.09061, allocations: 137.9 kB / 381.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.09063, allocations: 0 / 381.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.09065, allocations: 4 kB / 381.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.09066, allocations: 4 kB / 381.2 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.09087, allocations: 99.89 kB / 381.3 MB, free: 12.91 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.0007217/0.09161, allocations: 0.4961 MB / 381.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.09194, allocations: 162.7 kB / 382 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.09216, allocations: 92.81 kB / 382.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.0922, allocations: 4 kB / 382.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.09222, allocations: 34.56 kB / 382.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.09223, allocations: 0 / 382.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.00255/0.09478, allocations: 0.8398 MB / 383 MB, free: 11.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.09484, allocations: 51.41 kB / 383 MB, free: 11.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.09501, allocations: 194.9 kB / 383.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.09504, allocations: 25.7 kB / 383.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.09511, allocations: 112.5 kB / 383.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.09517, allocations: 63.09 kB / 383.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.09524, allocations: 37.62 kB / 383.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.09536, allocations: 326.8 kB / 383.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.09548, allocations: 52.83 kB / 383.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.09559, allocations: 47.98 kB / 383.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.09582, allocations: 133 kB / 384 MB, free: 10.06 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.09582, allocations: 0 / 384 MB, free: 10.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004509/0.09628, allocations: 218.2 kB / 384.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.09631, allocations: 4 kB / 384.2 MB, free: 9.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.09632, allocations: 0 / 384.2 MB, free: 9.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.09698, allocations: 100.7 kB / 384.3 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.09748, allocations: 67.94 kB / 384.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008041/0.0983, allocations: 1.181 MB / 385.6 MB, free: 8.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.09843, allocations: 8.031 kB / 385.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.09845, allocations: 7.984 kB / 385.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001771/0.09864, allocations: 136.1 kB / 385.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.414e-05/0.09874, allocations: 51.94 kB / 385.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002157/0.09896, allocations: 125.4 kB / 385.9 MB, free: 8.109 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.09897, allocations: 0 / 385.9 MB, free: 8.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0005829/0.09956, allocations: 218.1 kB / 386.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.09959, allocations: 6.969 kB / 386.1 MB, free: 7.883 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.09959, allocations: 0 / 386.1 MB, free: 7.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.09989, allocations: 76.78 kB / 386.2 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.1001, allocations: 47.91 kB / 386.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.1018, allocations: 1.651 MB / 387.9 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.1019, allocations: 3.984 kB / 387.9 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1019, allocations: 8.031 kB / 387.9 MB, free: 5.965 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.0002699/0.1022, allocations: 197.1 kB / 388.1 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.1023, allocations: 15.81 kB / 388.1 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.1029, allocations: 232.2 kB / 388.3 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1029, allocations: 3.938 kB / 388.3 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.1029, allocations: 0 / 388.3 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1029, allocations: 4 kB / 388.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.1032, allocations: 265.6 kB / 388.6 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1032, allocations: 0 / 388.6 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.1037, allocations: 55.95 kB / 388.6 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/0.1042, allocations: 92.77 kB / 388.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1042, allocations: 4 kB / 388.7 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007622/0.105, allocations: 1.181 MB / 389.9 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.105, allocations: 0 / 389.9 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.1057, allocations: 396 kB / 390.3 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.1058, allocations: 112.9 kB / 390.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1058, allocations: 4 kB / 390.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1059, allocations: 11.98 kB / 390.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.106, allocations: 12.05 kB / 390.4 MB, free: 3.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.106, allocations: 8.062 kB / 390.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1062, allocations: 128.1 kB / 390.6 MB, free: 3.113 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1062, allocations: 0 / 390.6 MB, free: 3.113 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.1066, allocations: 76 kB / 390.6 MB, free: 3.039 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.0001679/0.1067, allocations: 103.2 kB / 390.7 MB, free: 2.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.1078, allocations: 382.4 kB / 391.1 MB, free: 2.543 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1079, allocations: 0 / 391.1 MB, free: 2.543 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.1083, allocations: 106.3 kB / 391.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.1087, allocations: 32.14 kB / 391.2 MB, free: 2.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1099, allocations: 0.5668 MB / 391.8 MB, free: 1.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1102, allocations: 0.7245 MB / 392.5 MB, free: 1.07 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.311e-05/0.1103, allocations: 17.41 kB / 392.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.1104, allocations: 15.44 kB / 392.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1104, allocations: 0 / 392.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of Templates: time 0.005743/0.1161, allocations: 2.51 MB / 395.1 MB, free: 14.53 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestPipeSegment.makefile (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)