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.006374/0.006374, allocations: 99.19 kB / 15.73 MB, free: 6.008 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.00126/0.00126, allocations: 189.6 kB / 16.67 MB, free: 5.926 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.441/1.441, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01047/0.01047, allocations: 1.931 MB / 271.8 MB, free: 3.219 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.001382/0.001382, allocations: 71.91 kB / 378.2 MB, free: 428 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1022, allocations: 47.13 MB / 425.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.2246/0.3268, allocations: 2.233 MB / 427.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.3278, allocations: 0.6441 MB / 428.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.3279, allocations: 2.406 kB / 428.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.517e-05/0.328, allocations: 25.41 kB / 428.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.3282, allocations: 69.03 kB / 428.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.3285, allocations: 53.5 kB / 428.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.3287, allocations: 235.4 kB / 428.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3288, allocations: 31.56 kB / 428.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.329, allocations: 86.03 kB / 428.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3291, allocations: 87.48 kB / 428.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.3292, allocations: 15.91 kB / 428.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.3293, allocations: 26.45 kB / 428.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.3293, allocations: 38.19 kB / 428.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.3294, allocations: 90.41 kB / 429 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3296, allocations: 193.5 kB / 429.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3297, allocations: 0.6562 kB / 429.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3297, allocations: 0 / 429.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3297, allocations: 0 / 429.2 MB, free: 10.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.0006742/0.3304, allocations: 494.5 kB / 429.7 MB, free: 9.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3304, allocations: 14.05 kB / 429.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.3305, allocations: 22 kB / 429.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.3306, allocations: 219.2 kB / 429.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3307, allocations: 13.77 kB / 429.9 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.3307, allocations: 14.11 kB / 429.9 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.331, allocations: 136.1 kB / 430.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.331, allocations: 0.5 kB / 430.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.331, allocations: 5.219 kB / 430.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.331, allocations: 8.484 kB / 430.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.3312, allocations: 101 kB / 430.2 MB, free: 9.449 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.0006881/0.3319, allocations: 0.4902 MB / 430.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.3322, allocations: 166.4 kB / 430.8 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.3324, allocations: 98.12 kB / 430.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.3325, allocations: 1.703 kB / 430.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.3325, allocations: 37.5 kB / 431 MB, free: 8.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.3325, allocations: 0 / 431 MB, free: 8.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002427/0.3349, allocations: 0.8505 MB / 431.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.335, allocations: 53.53 kB / 431.9 MB, free: 8.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3351, allocations: 183.6 kB / 432.1 MB, free: 8.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3352, allocations: 30.83 kB / 432.1 MB, free: 8.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3352, allocations: 114.9 kB / 432.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.3353, allocations: 63.5 kB / 432.3 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.3353, allocations: 40.64 kB / 432.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.3354, allocations: 326.7 kB / 432.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3355, allocations: 51.94 kB / 432.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3356, allocations: 49.11 kB / 432.7 MB, free: 7.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.3358, allocations: 123.2 kB / 432.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3359, allocations: 1.031 kB / 432.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004342/0.3363, allocations: 226.8 kB / 433.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3363, allocations: 5.625 kB / 433.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3363, allocations: 0.7031 kB / 433.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.337, allocations: 97.12 kB / 433.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.3375, allocations: 65.89 kB / 433.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005393/0.338, allocations: 1.184 MB / 434.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3381, allocations: 5.453 kB / 434.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3381, allocations: 4.625 kB / 434.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001432/0.3383, allocations: 139.7 kB / 434.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.774e-05/0.3384, allocations: 51.02 kB / 434.6 MB, free: 6.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000194/0.3386, allocations: 122.2 kB / 434.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.3386, allocations: 0 / 434.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004783/0.3391, allocations: 223.2 kB / 434.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3391, allocations: 5.359 kB / 434.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.3391, allocations: 1.094 kB / 434.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.3394, allocations: 73.89 kB / 435 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.3396, allocations: 46.25 kB / 435.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.3409, allocations: 1.831 MB / 436.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.506e-05/0.341, allocations: 7.625 kB / 436.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3411, allocations: 3.25 kB / 436.9 MB, free: 4.301 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.558e-05/0.3411, allocations: 194.9 kB / 437.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.3412, allocations: 19.97 kB / 437.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.3417, allocations: 239.3 kB / 437.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3418, allocations: 2.594 kB / 437.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.3418, allocations: 3.938 kB / 437.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3418, allocations: 0.75 kB / 437.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.342, allocations: 255.8 kB / 437.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.342, allocations: 5.719 kB / 437.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.3425, allocations: 61.75 kB / 437.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/0.343, allocations: 90.91 kB / 437.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.343, allocations: 8.875 kB / 437.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004653/0.3435, allocations: 1.177 MB / 438.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3435, allocations: 0 / 438.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.3441, allocations: 400.8 kB / 439.3 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.3442, allocations: 109.2 kB / 439.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3442, allocations: 1.812 kB / 439.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3444, allocations: 7.141 kB / 439.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.3444, allocations: 9.078 kB / 439.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3444, allocations: 7.344 kB / 439.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.3445, allocations: 136.1 kB / 439.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3445, allocations: 1.031 kB / 439.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.345, allocations: 72.48 kB / 439.7 MB, free: 2.09 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.0001154/0.3451, allocations: 96.12 kB / 439.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3461, allocations: 386.7 kB / 440.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3461, allocations: 0.75 kB / 440.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.3466, allocations: 110.5 kB / 440.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3469, allocations: 27.45 kB / 440.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/0.3479, allocations: 0.5122 MB / 440.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.3481, allocations: 0.7222 MB / 441.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.15e-05/0.3482, allocations: 17.67 kB / 441.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.3482, allocations: 13.16 kB / 441.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3482, allocations: 0 / 441.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Templates: time 0.006739/0.355, allocations: 2.726 MB / 444.3 MB, free: 0.543 MB / 318.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)