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/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: "" <> buildModelFMU(MEV.Test.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007857/0.007857, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001904/0.001904, allocations: 190 kB / 16.67 MB, free: 5.48 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.306/1.306, allocations: 205.1 MB / 222.5 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.008166/0.008166, allocations: 1.939 MB / 271.8 MB, free: 10.06 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.123/0.123, allocations: 67.97 kB / 377.7 MB, free: 52.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06719/0.1902, allocations: 47.13 MB / 424.9 MB, free: 20.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.002687/0.193, allocations: 2.884 MB / 427.7 MB, free: 17.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.1939, allocations: 0.777 MB / 428.5 MB, free: 16.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.194, allocations: 7.938 kB / 428.5 MB, free: 16.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.17e-05/0.1941, allocations: 35.62 kB / 428.6 MB, free: 16.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1943, allocations: 123 kB / 428.7 MB, free: 16.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1945, allocations: 107.8 kB / 428.8 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.1948, allocations: 419 kB / 429.2 MB, free: 16.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1949, allocations: 72.69 kB / 429.3 MB, free: 16.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1951, allocations: 151.4 kB / 429.4 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1953, allocations: 171.3 kB / 429.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.1953, allocations: 28 kB / 429.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.1954, allocations: 44 kB / 429.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.1955, allocations: 67.75 kB / 429.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1956, allocations: 167.2 kB / 429.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.1958, allocations: 332.7 kB / 430.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1958, allocations: 0 / 430.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1958, allocations: 3.938 kB / 430.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1959, allocations: 0 / 430.2 MB, free: 15.22 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008516/0.1967, allocations: 0.6208 MB / 430.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1968, allocations: 15.89 kB / 430.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.1968, allocations: 58.72 kB / 430.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.1969, allocations: 40.7 kB / 431 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1971, allocations: 275.7 kB / 431.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1971, allocations: 20.92 kB / 431.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.1971, allocations: 24.38 kB / 431.3 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.1975, allocations: 233 kB / 431.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1975, allocations: 0 / 431.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1975, allocations: 12 kB / 431.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1975, allocations: 4 kB / 431.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.1978, allocations: 186.2 kB / 431.7 MB, free: 13.65 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.000907/0.1987, allocations: 0.7371 MB / 432.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.1992, allocations: 306.6 kB / 432.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.1994, allocations: 152.8 kB / 432.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1995, allocations: 4 kB / 432.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.212e-05/0.1995, allocations: 34.56 kB / 432.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.1995, allocations: 0 / 432.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.004347/0.2039, allocations: 1.554 MB / 434.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.2039, allocations: 55.41 kB / 434.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.204, allocations: 233 kB / 434.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2041, allocations: 29.7 kB / 434.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.2041, allocations: 140.9 kB / 434.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.2042, allocations: 126.9 kB / 435 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.2043, allocations: 61.66 kB / 435.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.2043, allocations: 334.8 kB / 435.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2045, allocations: 96.81 kB / 435.5 MB, free: 9.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.2046, allocations: 95.72 kB / 435.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.2049, allocations: 233.1 kB / 435.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2049, allocations: 0 / 435.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006404/0.2056, allocations: 390.6 kB / 436.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2056, allocations: 11.92 kB / 436.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2056, allocations: 3.938 kB / 436.2 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.207, allocations: 269.4 kB / 436.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.2075, allocations: 87.94 kB / 436.6 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00086/0.2084, allocations: 1.862 MB / 438.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.2086, allocations: 12.02 kB / 438.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.2086, allocations: 12 kB / 438.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001873/0.2088, allocations: 192 kB / 438.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001286/0.2089, allocations: 96.03 kB / 438.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002741/0.2092, allocations: 216.4 kB / 439 MB, free: 6.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.2092, allocations: 3.938 kB / 439 MB, free: 6.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0008258/0.21, allocations: 439 kB / 439.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.2101, allocations: 4 kB / 439.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.2101, allocations: 3.938 kB / 439.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000642/0.2107, allocations: 201.5 kB / 439.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.211, allocations: 59.95 kB / 439.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.2138, allocations: 4.005 MB / 443.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.214, allocations: 15.95 kB / 443.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.214, allocations: 4 kB / 443.7 MB, free: 1.031 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 (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.884e-05/0.2141, allocations: 204.2 kB / 443.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.2141, allocations: 31.81 kB / 443.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006757/0.2148, allocations: 406.5 kB / 444.3 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2148, allocations: 4 kB / 444.3 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2149, allocations: 4.062 kB / 444.3 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2149, allocations: 7.922 kB / 444.3 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.2152, allocations: 357.4 kB / 444.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2152, allocations: 0 / 444.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.2157, allocations: 75.94 kB / 444.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.217, allocations: 249.5 kB / 445 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.217, allocations: 7.938 kB / 445 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.2182, allocations: 1.855 MB / 446.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2183, allocations: 0 / 446.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009476/0.2192, allocations: 0.6067 MB / 447.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.2194, allocations: 141.1 kB / 447.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.2194, allocations: 8 kB / 447.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.2196, allocations: 8 kB / 447.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.2197, allocations: 23.91 kB / 447.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2197, allocations: 8 kB / 447.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.2198, allocations: 168.5 kB / 447.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2198, allocations: 0 / 447.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.2204, allocations: 140 kB / 448 MB, free: 12.57 MB / 334.1 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.001242/0.2216, allocations: 1.163 MB / 449.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.2233, allocations: 0.7713 MB / 449.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2233, allocations: 0 / 449.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.224, allocations: 211.7 kB / 450.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.2244, allocations: 40.77 kB / 450.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.2287, allocations: 3.215 MB / 453.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.229, allocations: 0.772 MB / 454.1 MB, free: 6.219 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.2291, allocations: 22.28 kB / 454.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2292, allocations: 75.41 kB / 454.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of SimCode: time 1.463e-06/0.2292, allocations: 0 / 454.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.2576, allocations: 8.146 MB / 462.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.87, allocations: 15.75 kB / 462.4 MB, free: 13.9 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestPipes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestPipes.fmu > MEV_MEV.Test.TestPipes.pipe 2>&1)