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.0009311/0.0009311, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001801/0.001801, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9217/0.9217, allocations: 158.6 MB / 184.2 MB, free: 3.043 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.006334/0.006334, allocations: 1.428 MB / 237.9 MB, free: 13.93 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: "" <> buildModelFMU(MEV.Test.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.884e-05, allocations: 6.219 kB / 352.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002094/0.002113, allocations: 2.116 MB / 354.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000712/0.002825, allocations: 0.6285 MB / 355.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.002891, allocations: 8 kB / 355.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.129e-05/0.002942, allocations: 19.78 kB / 355.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.003072, allocations: 67.41 kB / 355.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.0033, allocations: 59.8 kB / 355.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003463, allocations: 235.3 kB / 355.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.00358, allocations: 25.8 kB / 355.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.003715, allocations: 131.6 kB / 355.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.003809, allocations: 71.78 kB / 355.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.003832, allocations: 20 kB / 355.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.003886, allocations: 20 kB / 355.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.003908, allocations: 35.84 kB / 355.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.003947, allocations: 63.83 kB / 355.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.004117, allocations: 179.5 kB / 356.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.004119, allocations: 0 / 356.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00412, allocations: 3.938 kB / 356.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.004126, allocations: 0 / 356.1 MB, free: 12.21 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.0004726/0.004598, allocations: 421.4 kB / 356.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.004635, allocations: 11.98 kB / 356.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.004664, allocations: 42.75 kB / 356.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.004693, allocations: 24.78 kB / 356.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.004833, allocations: 162.2 kB / 356.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.004843, allocations: 8.375 kB / 356.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.004867, allocations: 16.38 kB / 356.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.00504, allocations: 138.1 kB / 356.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.005049, allocations: 4.188 kB / 356.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.005061, allocations: 8.125 kB / 356.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.005066, allocations: 4 kB / 356.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.00519, allocations: 91.95 kB / 357 MB, free: 11.23 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.0004673/0.005658, allocations: 439.4 kB / 357.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.005873, allocations: 147.3 kB / 357.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.006012, allocations: 96.8 kB / 357.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.006036, allocations: 0 / 357.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.006047, allocations: 38.56 kB / 357.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.006048, allocations: 0 / 357.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001341/0.007389, allocations: 0.6936 MB / 358.4 MB, free: 9.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.007409, allocations: 55.41 kB / 358.5 MB, free: 9.664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.007493, allocations: 183.2 kB / 358.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.007502, allocations: 33.7 kB / 358.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.007533, allocations: 116.5 kB / 358.8 MB, free: 9.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.00756, allocations: 63.47 kB / 358.9 MB, free: 9.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.007597, allocations: 33.67 kB / 358.9 MB, free: 9.215 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.754e-05/0.007625, allocations: 334.8 kB / 359.2 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.007692, allocations: 48.84 kB / 359.3 MB, free: 8.828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.007748, allocations: 55.59 kB / 359.3 MB, free: 8.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.007874, allocations: 124.8 kB / 359.5 MB, free: 8.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007875, allocations: 0 / 359.5 MB, free: 8.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000313/0.008188, allocations: 218.2 kB / 359.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.008203, allocations: 8 kB / 359.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.008209, allocations: 0 / 359.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/0.008548, allocations: 100.8 kB / 359.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.008782, allocations: 71.94 kB / 359.8 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003165/0.009099, allocations: 1.185 MB / 361 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.009151, allocations: 7.984 kB / 361 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.009159, allocations: 4 kB / 361 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.178e-05/0.009241, allocations: 140.3 kB / 361.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.076e-05/0.009291, allocations: 52.48 kB / 361.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001141/0.009406, allocations: 117.1 kB / 361.3 MB, free: 6.695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.009407, allocations: 0 / 361.3 MB, free: 6.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0002462/0.009653, allocations: 214.2 kB / 361.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.009659, allocations: 4 kB / 361.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.00966, allocations: 0 / 361.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.009799, allocations: 76.73 kB / 361.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.009893, allocations: 43.97 kB / 361.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007942/0.01069, allocations: 1.715 MB / 363.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.01074, allocations: 4.031 kB / 363.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.01074, allocations: 4 kB / 363.4 MB, free: 4.52 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 5.571e-05/0.0108, allocations: 192.2 kB / 363.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.01082, allocations: 15.91 kB / 363.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.01111, allocations: 252.1 kB / 363.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01111, allocations: 0 / 363.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.01111, allocations: 0 / 363.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01111, allocations: 4 kB / 363.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.01125, allocations: 208.8 kB / 364.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01125, allocations: 0 / 364.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.01145, allocations: 55.95 kB / 364.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.01168, allocations: 96.77 kB / 364.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.01169, allocations: 3.938 kB / 364.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002418/0.01193, allocations: 1.181 MB / 365.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01193, allocations: 3.938 kB / 365.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.01226, allocations: 395.1 kB / 365.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.0123, allocations: 27.92 kB / 365.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.01232, allocations: 11.98 kB / 365.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.01238, allocations: 3.938 kB / 365.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.01241, allocations: 11.89 kB / 365.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.01241, allocations: 8 kB / 365.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.01247, allocations: 137.2 kB / 366 MB, free: 1.816 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01247, allocations: 0 / 366 MB, free: 1.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.01273, allocations: 76.06 kB / 366.1 MB, free: 1.742 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.0004543/0.01318, allocations: 0.9044 MB / 367 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005399/0.01372, allocations: 382.6 kB / 367.3 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01372, allocations: 0 / 367.3 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.01391, allocations: 107.8 kB / 367.4 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01416, allocations: 19.98 kB / 367.5 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.0162, allocations: 2.211 MB / 369.7 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.096e-05/0.01629, allocations: 116.6 kB / 369.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.01634, allocations: 9.484 kB / 369.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.0164, allocations: 48.47 kB / 369.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0164, allocations: 0 / 369.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.03674, allocations: 5.227 MB / 375.1 MB, free: 8.535 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/8.533, allocations: 4.234 kB / 375.1 MB, free: 8.531 MB / 298.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestPipeSegment_res.csv --start-time 0 --stop-time 0.002 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-07 MEV_MEV_Test_TestPipeSegment.fmu > MEV_MEV.Test.TestPipeSegment.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.4012183342129] Failed to read output from testmodel.py, exit status != 0: 8.62245325371623 8.633525564 8.626713859 Calling exit ...