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.001206/0.001206, allocations: 110.3 kB / 16.41 MB, free: 6.027 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.001193/0.001193, allocations: 188.1 kB / 17.34 MB, free: 5.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.336/1.336, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009232/0.009232, allocations: 1.939 MB / 272.5 MB, free: 10.07 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.001455/0.001455, allocations: 71.73 kB / 378.9 MB, free: 51.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07624/0.07771, allocations: 47.13 MB / 426 MB, free: 19.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002657/0.08041, allocations: 2.243 MB / 428.3 MB, free: 17.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009091/0.08135, allocations: 0.6403 MB / 428.9 MB, free: 17.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.08144, allocations: 4 kB / 428.9 MB, free: 17.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.212e-05/0.08153, allocations: 23.78 kB / 428.9 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.08168, allocations: 63.41 kB / 429 MB, free: 16.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.08192, allocations: 55.88 kB / 429.1 MB, free: 16.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.08212, allocations: 235.3 kB / 429.3 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.08227, allocations: 46.11 kB / 429.3 MB, free: 16.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.0824, allocations: 87.64 kB / 429.4 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.08253, allocations: 87.67 kB / 429.5 MB, free: 16.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.08257, allocations: 19.94 kB / 429.5 MB, free: 16.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.9e-05/0.08265, allocations: 23.94 kB / 429.5 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.08268, allocations: 31.91 kB / 429.6 MB, free: 16.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.08275, allocations: 95.53 kB / 429.7 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.08296, allocations: 175.4 kB / 429.8 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.08297, allocations: 0 / 429.8 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08298, allocations: 4 kB / 429.8 MB, free: 16.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.08299, allocations: 0 / 429.8 MB, free: 16.14 MB / 318.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.0006662/0.08367, allocations: 484.1 kB / 430.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.0837, allocations: 15.89 kB / 430.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.08375, allocations: 20.66 kB / 430.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.08393, allocations: 220.7 kB / 430.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.08395, allocations: 12.36 kB / 430.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.08399, allocations: 12.38 kB / 430.6 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.08422, allocations: 141.9 kB / 430.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.08424, allocations: 0 / 430.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.08426, allocations: 8 kB / 430.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.08427, allocations: 0 / 430.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.08445, allocations: 103.9 kB / 430.8 MB, free: 15.06 MB / 318.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.0006006/0.08506, allocations: 0.4962 MB / 431.3 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.08534, allocations: 162.6 kB / 431.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.08556, allocations: 104.8 kB / 431.6 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.08559, allocations: 0 / 431.6 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.08561, allocations: 34.56 kB / 431.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.08562, allocations: 3.938 kB / 431.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002416/0.08804, allocations: 0.8362 MB / 432.5 MB, free: 13.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.08808, allocations: 59.41 kB / 432.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.0882, allocations: 187.1 kB / 432.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.08822, allocations: 25.7 kB / 432.7 MB, free: 12.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.08827, allocations: 112.5 kB / 432.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.08831, allocations: 63.11 kB / 432.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.08837, allocations: 33.7 kB / 432.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.429e-05/0.08841, allocations: 322.8 kB / 433.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.08852, allocations: 60.83 kB / 433.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/0.08861, allocations: 47.98 kB / 433.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.08881, allocations: 121.1 kB / 433.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.08882, allocations: 0 / 433.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003866/0.08921, allocations: 218.1 kB / 433.7 MB, free: 12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.08923, allocations: 16 kB / 433.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.08925, allocations: 4 kB / 433.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/0.08984, allocations: 100.7 kB / 433.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.09031, allocations: 67.95 kB / 433.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004907/0.09081, allocations: 1.181 MB / 435.1 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.09093, allocations: 8.031 kB / 435.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.09095, allocations: 8.156 kB / 435.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001269/0.09108, allocations: 140.1 kB / 435.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.64e-05/0.09117, allocations: 43.98 kB / 435.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001671/0.09134, allocations: 117.3 kB / 435.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.91e-07/0.09135, allocations: 4 kB / 435.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004269/0.09178, allocations: 222.1 kB / 435.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.0918, allocations: 4 kB / 435.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.0918, allocations: 0 / 435.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.09208, allocations: 68.8 kB / 435.7 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.09227, allocations: 47.91 kB / 435.7 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.09351, allocations: 1.838 MB / 437.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.09363, allocations: 4 kB / 437.6 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.09364, allocations: 4.031 kB / 437.6 MB, free: 7.922 MB / 318.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 7.106e-05/0.09372, allocations: 192.1 kB / 437.7 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.09376, allocations: 15.81 kB / 437.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.09427, allocations: 248.1 kB / 438 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.09428, allocations: 3.938 kB / 438 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.09429, allocations: 0 / 438 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.0943, allocations: 7.984 kB / 438 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.09451, allocations: 257.6 kB / 438.3 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.09452, allocations: 3.984 kB / 438.3 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.09495, allocations: 63.89 kB / 438.3 MB, free: 7.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.09542, allocations: 84.78 kB / 438.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.09544, allocations: 4 kB / 438.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003955/0.09584, allocations: 1.185 MB / 439.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09585, allocations: 0 / 439.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.09641, allocations: 392.1 kB / 440 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.09648, allocations: 108.9 kB / 440.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.09651, allocations: 4 kB / 440.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.09665, allocations: 8 kB / 440.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.0967, allocations: 7.984 kB / 440.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.09671, allocations: 4 kB / 440.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.764e-05/0.0968, allocations: 132.1 kB / 440.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0968, allocations: 0 / 440.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.09719, allocations: 76.06 kB / 440.3 MB, free: 5.004 MB / 318.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.0001149/0.09731, allocations: 107.1 kB / 440.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009284/0.09825, allocations: 386.3 kB / 440.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09827, allocations: 4 kB / 440.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.09868, allocations: 103.9 kB / 440.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.09906, allocations: 23.94 kB / 440.9 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008437/0.09991, allocations: 0.5326 MB / 441.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.1, allocations: 0.7207 MB / 442.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.1001, allocations: 15.44 kB / 442.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1001, allocations: 0 / 442.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of Templates: time 0.004138/0.1042, allocations: 3.162 MB / 445.4 MB, free: 15.87 MB / 334.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)