Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006406/0.006406, allocations: 1.935 MB / 18.67 MB, free: 3.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.1 MB / 225 MB, free: 4.832 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009102/0.0009101, allocations: 102 kB / 272.9 MB, free: 6.062 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009111/0.0009112, allocations: 63.91 kB / 330.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1845, allocations: 47.11 MB / 377.9 MB, free: 44.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.002918/0.1875, allocations: 3.372 MB / 381.3 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.1884, allocations: 0.8433 MB / 382.1 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.1885, allocations: 3.031 kB / 382.1 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.252e-05/0.1886, allocations: 32.8 kB / 382.2 MB, free: 41.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1888, allocations: 100.7 kB / 382.3 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.189, allocations: 91.38 kB / 382.4 MB, free: 40.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.1893, allocations: 405 kB / 382.8 MB, free: 40.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1895, allocations: 61.72 kB / 382.8 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1896, allocations: 138.4 kB / 382.9 MB, free: 40.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1898, allocations: 157.4 kB / 383.1 MB, free: 40.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.1898, allocations: 17.03 kB / 383.1 MB, free: 40.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.1899, allocations: 32.11 kB / 383.2 MB, free: 40.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.19, allocations: 55.69 kB / 383.2 MB, free: 40.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1901, allocations: 155.9 kB / 383.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1903, allocations: 311.1 kB / 383.7 MB, free: 40.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1903, allocations: 5.141 kB / 383.7 MB, free: 40.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1903, allocations: 7.938 kB / 383.7 MB, free: 40.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1903, allocations: 0 / 383.7 MB, free: 40.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008523/0.1912, allocations: 0.6075 MB / 384.3 MB, free: 39.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1912, allocations: 13.72 kB / 384.3 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.1913, allocations: 31.81 kB / 384.3 MB, free: 39.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1915, allocations: 273.1 kB / 384.6 MB, free: 39.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1915, allocations: 19.06 kB / 384.6 MB, free: 39.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.1916, allocations: 23.88 kB / 384.6 MB, free: 39.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.1919, allocations: 227.9 kB / 384.9 MB, free: 39.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.192, allocations: 9.188 kB / 384.9 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.192, allocations: 9.5 kB / 384.9 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.192, allocations: 5.438 kB / 384.9 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.1923, allocations: 186.3 kB / 385.1 MB, free: 39.07 MB / 298.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.0009036/0.1932, allocations: 0.7417 MB / 385.8 MB, free: 38.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.1937, allocations: 316 kB / 386.1 MB, free: 38.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1939, allocations: 163.6 kB / 386.3 MB, free: 38.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1939, allocations: 7.984 kB / 386.3 MB, free: 38.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.088e-05/0.194, allocations: 38.56 kB / 386.3 MB, free: 38.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.222e-06/0.194, allocations: 0 / 386.3 MB, free: 38.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.004268/0.1982, allocations: 1.532 MB / 387.8 MB, free: 36.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.1983, allocations: 55.41 kB / 387.9 MB, free: 36.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1984, allocations: 233 kB / 388.1 MB, free: 36.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1984, allocations: 29.7 kB / 388.2 MB, free: 36.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.1985, allocations: 136.9 kB / 388.3 MB, free: 35.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.1986, allocations: 126.1 kB / 388.4 MB, free: 35.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.1986, allocations: 61.69 kB / 388.5 MB, free: 35.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.1987, allocations: 334.8 kB / 388.8 MB, free: 35.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1988, allocations: 96.58 kB / 388.9 MB, free: 35.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.199, allocations: 99.7 kB / 389 MB, free: 35.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.1993, allocations: 229.2 kB / 389.2 MB, free: 34.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1993, allocations: 11.88 kB / 389.2 MB, free: 34.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006555/0.2, allocations: 394.2 kB / 389.6 MB, free: 34.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2, allocations: 7.938 kB / 389.6 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2, allocations: 4 kB / 389.6 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.2014, allocations: 265.5 kB / 389.9 MB, free: 34.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.2019, allocations: 87.88 kB / 390 MB, free: 34.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008513/0.2027, allocations: 1.872 MB / 391.8 MB, free: 32.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.2029, allocations: 12.03 kB / 391.9 MB, free: 32.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2029, allocations: 11.98 kB / 391.9 MB, free: 32.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001796/0.2031, allocations: 188.1 kB / 392.1 MB, free: 32.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001226/0.2032, allocations: 87.97 kB / 392.1 MB, free: 31.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002685/0.2035, allocations: 217.3 kB / 392.4 MB, free: 31.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.2035, allocations: 0 / 392.4 MB, free: 31.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0008386/0.2044, allocations: 438.5 kB / 392.8 MB, free: 31.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.2044, allocations: 6.031 kB / 392.8 MB, free: 31.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.2044, allocations: 3.984 kB / 392.8 MB, free: 31.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006548/0.2051, allocations: 201.5 kB / 393 MB, free: 31.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.2053, allocations: 59.95 kB / 393 MB, free: 31.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.2079, allocations: 3.595 MB / 396.6 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.2081, allocations: 16.19 kB / 396.7 MB, free: 27.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.2081, allocations: 11.94 kB / 396.7 MB, free: 27.16 MB / 298.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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,10), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.2082, allocations: 200.8 kB / 396.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.2082, allocations: 27.62 kB / 396.9 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006704/0.2089, allocations: 414.6 kB / 397.3 MB, free: 26.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2089, allocations: 7.984 kB / 397.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.2089, allocations: 0 / 397.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2089, allocations: 0 / 397.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.2092, allocations: 353.4 kB / 397.6 MB, free: 26.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2092, allocations: 0 / 397.6 MB, free: 26.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.2097, allocations: 83.94 kB / 397.7 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.2109, allocations: 249.5 kB / 398 MB, free: 25.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.2109, allocations: 8 kB / 398 MB, free: 25.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007562/0.2117, allocations: 1.851 MB / 399.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2117, allocations: 4.062 kB / 399.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.2229, allocations: 7.728 MB / 407.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.223, allocations: 128.8 kB / 407.7 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.223, allocations: 8.188 kB / 407.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.2232, allocations: 12 kB / 407.7 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.2233, allocations: 24.03 kB / 407.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2233, allocations: 12 kB / 407.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.2234, allocations: 172.5 kB / 407.9 MB, free: 15.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2234, allocations: 0 / 407.9 MB, free: 15.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008592/0.2243, allocations: 268 kB / 408.2 MB, free: 15.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipeSegment1.p,pipeSegment2.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,6), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.2244, allocations: 107.3 kB / 408.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.2258, allocations: 0.7624 MB / 409 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2259, allocations: 0 / 409 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00059/0.2264, allocations: 212 kB / 409.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.2268, allocations: 40.44 kB / 409.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.2286, allocations: 1.501 MB / 410.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.2287, allocations: 0.7845 MB / 411.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.2289, allocations: 26.27 kB / 411.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.2289, allocations: 19.44 kB / 411.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2289, allocations: 0 / 411.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Templates: time 0.008784/0.2377, allocations: 7.758 MB / 419.4 MB, free: 3.734 MB / 298.7 MB make -j1 -f MEV_MEV.Test.TestPipes.makefile (rm -f MEV_MEV.Test.TestPipes.pipe ; mkfifo MEV_MEV.Test.TestPipes.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipes.pipe >> ../files/MEV_MEV.Test.TestPipes.sim & ./MEV_MEV.Test.TestPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPipes.pipe 2>&1)