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.001148/0.001148, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001115/0.001115, allocations: 187 kB / 17.34 MB, free: 5.738 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.111/1.111, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007184/0.007184, allocations: 1.939 MB / 272.5 MB, free: 10.05 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.001377/0.001377, allocations: 66.09 kB / 378.9 MB, free: 51.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05669/0.05808, allocations: 47.13 MB / 426 MB, free: 19.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002176/0.06028, allocations: 2.243 MB / 428.3 MB, free: 17.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.06095, allocations: 0.6403 MB / 428.9 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.06102, allocations: 4 kB / 428.9 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.015e-05/0.06107, allocations: 23.72 kB / 428.9 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.06121, allocations: 67.45 kB / 429 MB, free: 16.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.0614, allocations: 55.88 kB / 429.1 MB, free: 16.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.06156, allocations: 231.3 kB / 429.3 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.06167, allocations: 46.17 kB / 429.3 MB, free: 16.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.06177, allocations: 87.64 kB / 429.4 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.06188, allocations: 83.62 kB / 429.5 MB, free: 16.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.06191, allocations: 16 kB / 429.5 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.533e-05/0.06197, allocations: 31.92 kB / 429.5 MB, free: 16.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.062, allocations: 35.89 kB / 429.6 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.06206, allocations: 87.55 kB / 429.7 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.06221, allocations: 175.4 kB / 429.8 MB, free: 16.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.06222, allocations: 4 kB / 429.8 MB, free: 16.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.06223, allocations: 3.938 kB / 429.8 MB, free: 16.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.06224, allocations: 0 / 429.8 MB, free: 16.11 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.0005535/0.0628, allocations: 488.1 kB / 430.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.525e-05/0.06283, allocations: 11.89 kB / 430.3 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.06287, allocations: 24.66 kB / 430.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.06302, allocations: 216.7 kB / 430.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.06304, allocations: 20.28 kB / 430.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.06307, allocations: 12.38 kB / 430.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.06328, allocations: 137.9 kB / 430.7 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.06329, allocations: 4 kB / 430.7 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.06331, allocations: 4 kB / 430.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.06332, allocations: 4 kB / 430.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.06349, allocations: 95.95 kB / 430.8 MB, free: 15.03 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.0005273/0.06403, allocations: 0.4923 MB / 431.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.06428, allocations: 158.6 kB / 431.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.06447, allocations: 100.9 kB / 431.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.06451, allocations: 4 kB / 431.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.698e-06/0.06453, allocations: 34.5 kB / 431.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.06453, allocations: 0 / 431.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002108/0.06664, allocations: 0.8448 MB / 432.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.06667, allocations: 51.41 kB / 432.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.06678, allocations: 187.1 kB / 432.7 MB, free: 13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.06679, allocations: 29.7 kB / 432.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.06683, allocations: 112.5 kB / 432.8 MB, free: 12.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.06686, allocations: 63.09 kB / 432.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.06691, allocations: 33.72 kB / 432.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.06695, allocations: 334.8 kB / 433.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.06705, allocations: 52.78 kB / 433.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.06713, allocations: 47.98 kB / 433.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.06731, allocations: 125.1 kB / 433.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.06732, allocations: 0 / 433.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003523/0.06768, allocations: 218.1 kB / 433.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.0677, allocations: 8.156 kB / 433.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.0677, allocations: 0 / 433.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005206/0.06823, allocations: 92.77 kB / 433.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.06866, allocations: 71.94 kB / 433.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003996/0.06907, allocations: 1.181 MB / 435 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.497e-05/0.06917, allocations: 20.02 kB / 435.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.06919, allocations: 4 kB / 435.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000108/0.0693, allocations: 136.1 kB / 435.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.096e-05/0.06938, allocations: 47.98 kB / 435.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000155/0.06954, allocations: 117.2 kB / 435.4 MB, free: 10.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.62e-07/0.06955, allocations: 0 / 435.4 MB, free: 10.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0003962/0.06995, allocations: 226.1 kB / 435.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.951e-06/0.06996, allocations: 7.906 kB / 435.6 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.06997, allocations: 80 / 435.6 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.07022, allocations: 72.78 kB / 435.7 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.0704, allocations: 51.97 kB / 435.7 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.07145, allocations: 1.822 MB / 437.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.749e-05/0.07155, allocations: 4.031 kB / 437.5 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.07156, allocations: 8 kB / 437.5 MB, free: 7.898 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 5.319e-05/0.07162, allocations: 192.1 kB / 437.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.07166, allocations: 23.73 kB / 437.8 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.07212, allocations: 244.1 kB / 438 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.07213, allocations: 4 kB / 438 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.07213, allocations: 0 / 438 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.07214, allocations: 0 / 438 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.07233, allocations: 261.6 kB / 438.3 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.07234, allocations: 0 / 438.3 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.07271, allocations: 67.89 kB / 438.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/0.07315, allocations: 84.78 kB / 438.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.07317, allocations: 0 / 438.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003471/0.07352, allocations: 1.193 MB / 439.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.07353, allocations: 0 / 439.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.07405, allocations: 388.1 kB / 440 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.07412, allocations: 112.9 kB / 440.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.07414, allocations: 4 kB / 440.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.07427, allocations: 8 kB / 440.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.07431, allocations: 7.984 kB / 440.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.07432, allocations: 4 kB / 440.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.07439, allocations: 136.1 kB / 440.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07439, allocations: 4.062 kB / 440.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003406/0.07474, allocations: 72 kB / 440.3 MB, free: 4.973 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 7.613e-05/0.07482, allocations: 99.19 kB / 440.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008147/0.07564, allocations: 386.3 kB / 440.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.07565, allocations: 0 / 440.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.07604, allocations: 111.9 kB / 440.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.07631, allocations: 19.92 kB / 440.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.07705, allocations: 0.5328 MB / 441.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.896e-05/0.07716, allocations: 0.7245 MB / 442.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.07721, allocations: 15.44 kB / 442.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.07721, allocations: 0 / 442.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Templates: time 0.003468/0.08068, allocations: 3.177 MB / 445.4 MB, free: 15.83 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)