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.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.001021/0.001021, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000968/0.000968, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8784/0.8784, allocations: 158.6 MB / 184.2 MB, free: 3.047 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.00591/0.00591, allocations: 1.436 MB / 237.9 MB, free: 13.92 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 3.938 kB / 352.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.309e-05, allocations: 6.219 kB / 352.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.002831/0.002854, allocations: 2.661 MB / 355.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.004098, allocations: 0.7459 MB / 355.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.00423, allocations: 0 / 355.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.267e-05/0.004313, allocations: 43.56 kB / 355.9 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.004516, allocations: 126.9 kB / 356 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.004833, allocations: 103.7 kB / 356.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.005119, allocations: 434.8 kB / 356.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.005258, allocations: 40.91 kB / 356.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.005481, allocations: 235.4 kB / 356.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.005601, allocations: 127.6 kB / 356.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.005634, allocations: 32 kB / 357 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.005716, allocations: 51.92 kB / 357 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.005747, allocations: 67.73 kB / 357.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.005806, allocations: 115.7 kB / 357.2 MB, free: 11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.006031, allocations: 343 kB / 357.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.006033, allocations: 0 / 357.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006035, allocations: 0 / 357.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.00604, allocations: 0 / 357.5 MB, free: 10.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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006243/0.006665, allocations: 0.5441 MB / 358.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.006702, allocations: 23.86 kB / 358.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.00674, allocations: 58.72 kB / 358.2 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.006782, allocations: 36.7 kB / 358.2 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.006961, allocations: 209.2 kB / 358.4 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.006974, allocations: 16.88 kB / 358.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.007002, allocations: 28.33 kB / 358.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.007255, allocations: 228.6 kB / 358.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.007264, allocations: 192 / 358.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.007282, allocations: 20.11 kB / 358.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.007287, allocations: 4 kB / 358.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.007488, allocations: 181.9 kB / 358.9 MB, free: 9.262 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.0006671/0.008155, allocations: 0.6462 MB / 359.5 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.008504, allocations: 290.7 kB / 359.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.008652, allocations: 136.8 kB / 359.9 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.00868, allocations: 7.984 kB / 359.9 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.008696, allocations: 38.56 kB / 360 MB, free: 8.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.243e-06/0.008697, allocations: 0 / 360 MB, free: 8.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002474/0.01117, allocations: 1.316 MB / 361.3 MB, free: 6.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.01119, allocations: 59.34 kB / 361.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.01131, allocations: 233.9 kB / 361.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.01133, allocations: 37.7 kB / 361.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.01136, allocations: 132.9 kB / 361.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.01141, allocations: 126.9 kB / 361.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.01146, allocations: 61.66 kB / 361.9 MB, free: 6.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.252e-05/0.0115, allocations: 334.8 kB / 362.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.01161, allocations: 92.83 kB / 362.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.968e-05/0.01171, allocations: 95.7 kB / 362.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.01193, allocations: 241 kB / 362.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01194, allocations: 0 / 362.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004378/0.01237, allocations: 398.5 kB / 363.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.01239, allocations: 4 kB / 363.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01239, allocations: 0 / 363.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007619/0.01316, allocations: 277.4 kB / 363.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.01341, allocations: 83.94 kB / 363.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005778/0.01399, allocations: 1.866 MB / 365.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.481e-05/0.01407, allocations: 8 kB / 365.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.01409, allocations: 11.98 kB / 365.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001419/0.01423, allocations: 188.1 kB / 365.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.764e-05/0.01432, allocations: 87.72 kB / 365.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001979/0.01452, allocations: 217.5 kB / 365.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.01452, allocations: 0 / 365.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.000489/0.01501, allocations: 438.3 kB / 366.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.01501, allocations: 6.969 kB / 366.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.01502, allocations: 0 / 366.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.01537, allocations: 193.5 kB / 366.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.01549, allocations: 63.95 kB / 366.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.01789, allocations: 3.747 MB / 370.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.01797, allocations: 16.09 kB / 370.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01798, allocations: 7.984 kB / 370.3 MB, free: 13.38 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 9.781e-05/0.01808, allocations: 200.4 kB / 370.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.01811, allocations: 31.81 kB / 370.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.01863, allocations: 402.6 kB / 370.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01863, allocations: 4.094 kB / 370.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.01863, allocations: 7.875 kB / 370.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01864, allocations: 4 kB / 370.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.01889, allocations: 288.7 kB / 371.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01889, allocations: 0 / 371.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.01914, allocations: 71.95 kB / 371.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006302/0.01977, allocations: 249.8 kB / 371.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.01979, allocations: 15.98 kB / 371.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007859/0.02058, allocations: 1.858 MB / 373.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02058, allocations: 0 / 373.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/0.02119, allocations: 0.6072 MB / 374 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/0.02128, allocations: 63.64 kB / 374 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.0213, allocations: 4 kB / 374 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.02139, allocations: 12 kB / 374 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.02143, allocations: 23.95 kB / 374.1 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.02144, allocations: 7.938 kB / 374.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.02155, allocations: 173.2 kB / 374.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02155, allocations: 0 / 374.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.02191, allocations: 143.9 kB / 374.4 MB, free: 9.078 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.0008332/0.02274, allocations: 1.147 MB / 375.5 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009953/0.02374, allocations: 0.7349 MB / 376.3 MB, free: 7.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02374, allocations: 7.938 kB / 376.3 MB, free: 7.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.02408, allocations: 203.7 kB / 376.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.02437, allocations: 32.48 kB / 376.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.02728, allocations: 3.151 MB / 379.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.02739, allocations: 160.3 kB / 379.8 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.263e-05/0.02746, allocations: 26.27 kB / 379.8 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.02753, allocations: 72.48 kB / 379.9 MB, free: 3.375 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02754, allocations: 0 / 379.9 MB, free: 3.375 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.05056, allocations: 8.674 MB / 388.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.736/8.787, allocations: 4 kB / 388.6 MB, free: 10.65 MB / 314.7 MB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.629266994073987] Failed to read output from testmodel.py, exit status != 0: 8.879713368602097 8.889966336 8.882279795 Calling exit ...