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.001052/0.001051, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001045/0.001045, allocations: 194.4 kB / 16.26 MB, free: 6.633 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.201/1.201, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007778/0.007778, allocations: 1.924 MB / 271.4 MB, free: 3.504 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.001216/0.001217, allocations: 63.84 kB / 329.3 MB, free: 33.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0652/0.06643, allocations: 47.14 MB / 376.5 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.003165/0.06963, allocations: 2.544 MB / 379 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.07074, allocations: 0.683 MB / 379.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.07083, allocations: 4 kB / 379.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.408e-05/0.07092, allocations: 15.89 kB / 379.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.07107, allocations: 55.55 kB / 379.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.0713, allocations: 47.89 kB / 379.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.0715, allocations: 231.4 kB / 380 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.07162, allocations: 33.95 kB / 380.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.07175, allocations: 79.66 kB / 380.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.07187, allocations: 95.53 kB / 380.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.0719, allocations: 16 kB / 380.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.594e-05/0.07197, allocations: 28 kB / 380.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.07201, allocations: 39.84 kB / 380.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/0.07208, allocations: 87.59 kB / 380.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.07228, allocations: 179.4 kB / 380.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.07229, allocations: 0 / 380.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0723, allocations: 0 / 380.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.07231, allocations: 7.938 kB / 380.6 MB, free: 13.82 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.0006655/0.07298, allocations: 486.6 kB / 381.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.07302, allocations: 15.83 kB / 381.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.07307, allocations: 20.75 kB / 381.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.07326, allocations: 212.7 kB / 381.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.07328, allocations: 16.36 kB / 381.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.07331, allocations: 12.38 kB / 381.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.07356, allocations: 137.9 kB / 381.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.07357, allocations: 0 / 381.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.07359, allocations: 8 kB / 381.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.0736, allocations: 4 kB / 381.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.07381, allocations: 95.89 kB / 381.6 MB, free: 12.75 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.0006678/0.07448, allocations: 0.4962 MB / 382.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.07478, allocations: 154.7 kB / 382.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.07498, allocations: 100.8 kB / 382.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.07502, allocations: 7.984 kB / 382.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.07504, allocations: 30.56 kB / 382.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.07505, allocations: 0 / 382.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002367/0.07742, allocations: 0.8466 MB / 383.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.07746, allocations: 51.41 kB / 383.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.07761, allocations: 190.9 kB / 383.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.07765, allocations: 29.7 kB / 383.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.0777, allocations: 108.5 kB / 383.6 MB, free: 10.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.07775, allocations: 63.09 kB / 383.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.07782, allocations: 37.62 kB / 383.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.07791, allocations: 326.8 kB / 384 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.07802, allocations: 56.84 kB / 384.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.07812, allocations: 49.7 kB / 384.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.07833, allocations: 125.1 kB / 384.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.07834, allocations: 0 / 384.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004089/0.07876, allocations: 214.2 kB / 384.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.07878, allocations: 8 kB / 384.4 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.07879, allocations: 0 / 384.4 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/0.07939, allocations: 96.7 kB / 384.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.07987, allocations: 71.94 kB / 384.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006076/0.08049, allocations: 1.189 MB / 385.8 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.08061, allocations: 16.08 kB / 385.8 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.08063, allocations: 8 kB / 385.8 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000138/0.08077, allocations: 136.1 kB / 386 MB, free: 8.113 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.321e-05/0.08086, allocations: 47.94 kB / 386 MB, free: 8.066 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000173/0.08104, allocations: 112.8 kB / 386.1 MB, free: 7.953 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.08105, allocations: 0 / 386.1 MB, free: 7.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004576/0.08151, allocations: 234.5 kB / 386.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.08153, allocations: 4 kB / 386.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.08154, allocations: 0 / 386.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.08181, allocations: 64.8 kB / 386.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.08202, allocations: 55.91 kB / 386.5 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.08348, allocations: 1.83 MB / 388.3 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.08359, allocations: 4.031 kB / 388.3 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.0836, allocations: 4 kB / 388.3 MB, free: 5.617 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 9.703e-05/0.08371, allocations: 197.1 kB / 388.5 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.08375, allocations: 15.81 kB / 388.5 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005386/0.08429, allocations: 236.2 kB / 388.7 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.0843, allocations: 4 kB / 388.7 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.08431, allocations: 0 / 388.7 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.08432, allocations: 7.938 kB / 388.8 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.08457, allocations: 261.5 kB / 389 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.08457, allocations: 0 / 389 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.08499, allocations: 71.88 kB / 389.1 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004738/0.08548, allocations: 84.78 kB / 389.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.0855, allocations: 4 kB / 389.2 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005711/0.08608, allocations: 1.189 MB / 390.4 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.08609, allocations: 0 / 390.4 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.08672, allocations: 383.9 kB / 390.7 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.08681, allocations: 108.9 kB / 390.8 MB, free: 2.922 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.08684, allocations: 4.156 kB / 390.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.08697, allocations: 8 kB / 390.8 MB, free: 2.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.08702, allocations: 11.98 kB / 390.9 MB, free: 2.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.08703, allocations: 4 kB / 390.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.998e-05/0.08713, allocations: 136.1 kB / 391 MB, free: 2.762 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.223e-06/0.08713, allocations: 0 / 391 MB, free: 2.762 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000371/0.08751, allocations: 79.94 kB / 391.1 MB, free: 2.684 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.0001261/0.08764, allocations: 107.1 kB / 391.2 MB, free: 2.57 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000967/0.08861, allocations: 380.8 kB / 391.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.08863, allocations: 0 / 391.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.08907, allocations: 119.9 kB / 391.7 MB, free: 2.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.08936, allocations: 24.2 kB / 391.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/0.09028, allocations: 0.5655 MB / 392.3 MB, free: 1.457 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.09051, allocations: 0.7285 MB / 393 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.22e-05/0.09059, allocations: 13.41 kB / 393 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.09063, allocations: 11.44 kB / 393 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09063, allocations: 4 kB / 393 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of Templates: time 0.004878/0.09552, allocations: 2.647 MB / 395.7 MB, free: 14.03 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)