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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8531/0.8531, allocations: 158.6 MB / 184.9 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009457/0.009457, allocations: 1.443 MB / 238.7 MB, free: 13.66 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 1.031 kB / 304.6 MB, free: 61.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.58e-05, allocations: 2.312 kB / 304.6 MB, free: 61.03 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002492/0.002518, allocations: 2.263 MB / 306.9 MB, free: 59.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.003483, allocations: 0.6349 MB / 307.5 MB, free: 59.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.003559, allocations: 1.219 kB / 307.5 MB, free: 59.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.588e-05/0.003625, allocations: 22.97 kB / 307.5 MB, free: 59.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.003803, allocations: 69.42 kB / 307.6 MB, free: 59.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.004069, allocations: 64.75 kB / 307.7 MB, free: 59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.004296, allocations: 239.8 kB / 307.9 MB, free: 58.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.004414, allocations: 26.64 kB / 307.9 MB, free: 58.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.004613, allocations: 125.8 kB / 308 MB, free: 58.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004733, allocations: 66.55 kB / 308.1 MB, free: 58.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.004763, allocations: 15.38 kB / 308.1 MB, free: 58.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.00483, allocations: 25.19 kB / 308.1 MB, free: 58.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.004859, allocations: 34.27 kB / 308.2 MB, free: 58.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.004921, allocations: 67.81 kB / 308.2 MB, free: 58.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.005125, allocations: 142.7 kB / 308.4 MB, free: 58.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005128, allocations: 0 / 308.4 MB, free: 58.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.00513, allocations: 0.5625 kB / 308.4 MB, free: 58.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.005135, allocations: 0 / 308.4 MB, free: 58.67 MB / 282.7 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.0005599/0.005695, allocations: 0.5094 MB / 308.9 MB, free: 58.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.005736, allocations: 13.3 kB / 308.9 MB, free: 58.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.005802, allocations: 34.92 kB / 308.9 MB, free: 58.19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.005958, allocations: 157 kB / 309.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.005972, allocations: 10.22 kB / 309.1 MB, free: 58.03 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.005998, allocations: 16.61 kB / 309.1 MB, free: 58.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.006191, allocations: 123.1 kB / 309.2 MB, free: 57.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.006199, allocations: 192 / 309.2 MB, free: 57.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.006212, allocations: 5.594 kB / 309.2 MB, free: 57.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.006224, allocations: 7.656 kB / 309.3 MB, free: 57.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.00632, allocations: 51.67 kB / 309.3 MB, free: 57.94 MB / 282.7 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.000532/0.006852, allocations: 437 kB / 309.7 MB, free: 57.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.007069, allocations: 124.1 kB / 309.9 MB, free: 57.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.007211, allocations: 71.84 kB / 309.9 MB, free: 57.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.007236, allocations: 9.094 kB / 309.9 MB, free: 57.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.007252, allocations: 38.77 kB / 310 MB, free: 57.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.007254, allocations: 3.938 kB / 310 MB, free: 57.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001481/0.008735, allocations: 0.5901 MB / 310.6 MB, free: 57.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.00876, allocations: 54.81 kB / 310.6 MB, free: 57.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.008869, allocations: 215.3 kB / 310.8 MB, free: 56.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.008879, allocations: 29.7 kB / 310.9 MB, free: 56.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.008919, allocations: 162 kB / 311 MB, free: 56.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.008955, allocations: 67.67 kB / 311.1 MB, free: 56.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.009002, allocations: 41.47 kB / 311.1 MB, free: 56.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.009051, allocations: 0.4999 MB / 311.6 MB, free: 56.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.009104, allocations: 28.39 kB / 311.7 MB, free: 56.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.009149, allocations: 25.3 kB / 311.7 MB, free: 56.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.009257, allocations: 73.22 kB / 311.7 MB, free: 56.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.009257, allocations: 0 / 311.7 MB, free: 56.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002503/0.009508, allocations: 167 kB / 311.9 MB, free: 56.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.009523, allocations: 10.19 kB / 311.9 MB, free: 56.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.00953, allocations: 4.688 kB / 311.9 MB, free: 56.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.009892, allocations: 91.17 kB / 312 MB, free: 55.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.01015, allocations: 73.05 kB / 312.1 MB, free: 55.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003876/0.01053, allocations: 1.732 MB / 313.8 MB, free: 54.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.01059, allocations: 6.688 kB / 313.8 MB, free: 54.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.0106, allocations: 3.875 kB / 313.8 MB, free: 54.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.104e-05/0.01067, allocations: 151.5 kB / 314 MB, free: 54.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.067e-05/0.01071, allocations: 28.06 kB / 314 MB, free: 54.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.994e-05/0.0108, allocations: 70.61 kB / 314.1 MB, free: 54.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.31e-07/0.0108, allocations: 96 / 314.1 MB, free: 54.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0002477/0.01105, allocations: 178.4 kB / 314.2 MB, free: 53.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.086e-06/0.01105, allocations: 5.781 kB / 314.3 MB, free: 53.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-06/0.01106, allocations: 0 / 314.3 MB, free: 53.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.01125, allocations: 77.08 kB / 314.3 MB, free: 53.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01136, allocations: 45.45 kB / 314.4 MB, free: 53.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008516/0.01221, allocations: 2.178 MB / 316.5 MB, free: 51.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.01226, allocations: 3.484 kB / 316.6 MB, free: 51.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.01226, allocations: 2.438 kB / 316.6 MB, free: 51.89 MB / 282.7 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 6.512e-05/0.01233, allocations: 276.5 kB / 316.8 MB, free: 51.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.01235, allocations: 22.25 kB / 316.8 MB, free: 51.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.01266, allocations: 191 kB / 317 MB, free: 51.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01266, allocations: 3 kB / 317 MB, free: 51.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01266, allocations: 7.938 kB / 317 MB, free: 51.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01267, allocations: 5.062 kB / 317 MB, free: 51.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.01281, allocations: 178.1 kB / 317.2 MB, free: 51.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01281, allocations: 1.344 kB / 317.2 MB, free: 51.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.01303, allocations: 56.73 kB / 317.3 MB, free: 51.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002425/0.01328, allocations: 84.31 kB / 317.4 MB, free: 51.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.01329, allocations: 6.25 kB / 317.4 MB, free: 51.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000284/0.01357, allocations: 1.726 MB / 319.1 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01358, allocations: 4.062 kB / 319.1 MB, free: 49.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.01389, allocations: 362.4 kB / 319.5 MB, free: 49.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.01393, allocations: 32.66 kB / 319.5 MB, free: 49.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.01394, allocations: 6.469 kB / 319.5 MB, free: 49.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.014, allocations: 5.219 kB / 319.5 MB, free: 49.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.01404, allocations: 11.47 kB / 319.5 MB, free: 49.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.01404, allocations: 7.5 kB / 319.5 MB, free: 49.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.01409, allocations: 161.1 kB / 319.7 MB, free: 49.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01409, allocations: 0 / 319.7 MB, free: 49.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00028/0.01437, allocations: 67.25 kB / 319.7 MB, free: 49.12 MB / 282.7 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.0001214/0.01449, allocations: 108.6 kB / 319.8 MB, free: 49.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.01509, allocations: 389.2 kB / 320.2 MB, free: 48.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.0151, allocations: 0 / 320.2 MB, free: 48.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.01531, allocations: 95.88 kB / 320.3 MB, free: 48.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01556, allocations: 17.09 kB / 320.3 MB, free: 48.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.01651, allocations: 469.9 kB / 320.8 MB, free: 48.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.01655, allocations: 74.89 kB / 320.9 MB, free: 48.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.01659, allocations: 14.61 kB / 320.9 MB, free: 48.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.01662, allocations: 12.84 kB / 320.9 MB, free: 48.28 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.01662, allocations: 0 / 320.9 MB, free: 48.28 MB / 282.7 MB Notification: Performance of Templates: time 0.004415/0.02104, allocations: 2.51 MB / 323.4 MB, free: 45.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPipeSegment.makefile [Timeout 660] (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=240 -lv LOG_STATS > MEV_MEV.Test.TestPipeSegment.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5870931958779693]