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.001346/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001716/0.001716, allocations: 194.6 kB / 16.14 MB, free: 6.664 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.602/1.602, allocations: 205.1 MB / 222 MB, free: 4.938 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008193/0.008193, allocations: 1.935 MB / 271.3 MB, free: 3.758 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.0013/0.0013, allocations: 67.89 kB / 329.2 MB, free: 33.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08541, allocations: 47.14 MB / 376.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.003762/0.0892, allocations: 3.373 MB / 379.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.0904, allocations: 0.8471 MB / 380.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.09049, allocations: 4 kB / 380.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.064e-05/0.09059, allocations: 31.73 kB / 380.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.09077, allocations: 95.23 kB / 380.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.091, allocations: 95.84 kB / 380.8 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.09132, allocations: 399 kB / 381.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.09148, allocations: 60.91 kB / 381.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.09164, allocations: 139.4 kB / 381.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.09182, allocations: 155.3 kB / 381.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.09187, allocations: 20 kB / 381.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.09197, allocations: 31.98 kB / 381.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.09202, allocations: 55.7 kB / 381.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.09215, allocations: 159.2 kB / 381.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.09243, allocations: 311 kB / 382.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.09244, allocations: 0 / 382.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.09244, allocations: 0 / 382.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.09245, allocations: 3.938 kB / 382.1 MB, free: 12.25 MB / 286.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.001052/0.09351, allocations: 0.6196 MB / 382.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.09357, allocations: 12.03 kB / 382.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.433e-05/0.09366, allocations: 54.73 kB / 382.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.09372, allocations: 36.5 kB / 382.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.09395, allocations: 259.7 kB / 383.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.09398, allocations: 16.94 kB / 383.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.09402, allocations: 24.38 kB / 383.1 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.09442, allocations: 233 kB / 383.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.09444, allocations: 0 / 383.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.09447, allocations: 8 kB / 383.4 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.09448, allocations: 19.92 kB / 383.4 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.09483, allocations: 186.1 kB / 383.6 MB, free: 10.69 MB / 286.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.00103/0.09587, allocations: 0.7406 MB / 384.3 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.09642, allocations: 314.6 kB / 384.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.09668, allocations: 148.8 kB / 384.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.09672, allocations: 19.91 kB / 384.8 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.09674, allocations: 34.56 kB / 384.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.332e-06/0.09675, allocations: 0 / 384.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.004888/0.1016, allocations: 1.535 MB / 386.4 MB, free: 7.738 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1017, allocations: 55.41 kB / 386.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1019, allocations: 233 kB / 386.6 MB, free: 7.434 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1019, allocations: 29.7 kB / 386.7 MB, free: 7.398 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.102, allocations: 136.9 kB / 386.8 MB, free: 7.262 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/0.1021, allocations: 122.2 kB / 386.9 MB, free: 7.141 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.1022, allocations: 65.64 kB / 387 MB, free: 7.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1023, allocations: 334.8 kB / 387.3 MB, free: 6.734 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1025, allocations: 96.58 kB / 387.4 MB, free: 6.637 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.1027, allocations: 99.7 kB / 387.5 MB, free: 6.539 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.103, allocations: 225.2 kB / 387.7 MB, free: 6.316 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1031, allocations: 4 kB / 387.7 MB, free: 6.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000767/0.1038, allocations: 402.1 kB / 388.1 MB, free: 5.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1039, allocations: 11.94 kB / 388.1 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1039, allocations: 0 / 388.1 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.1055, allocations: 265.5 kB / 388.4 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.106, allocations: 83.92 kB / 388.5 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.1073, allocations: 1.862 MB / 390.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1075, allocations: 16.23 kB / 390.4 MB, free: 3.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.1075, allocations: 12 kB / 390.4 MB, free: 3.582 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002422/0.1077, allocations: 188.1 kB / 390.6 MB, free: 3.395 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001512/0.1079, allocations: 91.95 kB / 390.6 MB, free: 3.305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003352/0.1082, allocations: 213.3 kB / 390.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.1082, allocations: 0 / 390.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009838/0.1092, allocations: 434.4 kB / 391.3 MB, free: 2.656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.1093, allocations: 4 kB / 391.3 MB, free: 2.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1093, allocations: 11.88 kB / 391.3 MB, free: 2.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007308/0.11, allocations: 193.5 kB / 391.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.1103, allocations: 63.97 kB / 391.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.1138, allocations: 3.615 MB / 395.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.114, allocations: 4 kB / 395.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.114, allocations: 12 kB / 395.2 MB, free: 14.48 MB / 302.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 0.0001296/0.1141, allocations: 201 kB / 395.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.1142, allocations: 27.62 kB / 395.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008159/0.115, allocations: 410.8 kB / 395.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.115, allocations: 7.938 kB / 395.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1151, allocations: 0 / 395.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1151, allocations: 0 / 395.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.1154, allocations: 361.4 kB / 396.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1154, allocations: 0 / 396.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.1159, allocations: 75.95 kB / 396.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.1173, allocations: 245.5 kB / 396.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1174, allocations: 8 kB / 396.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.1185, allocations: 1.87 MB / 398.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1185, allocations: 0 / 398.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.1195, allocations: 0.6146 MB / 399 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1196, allocations: 128.7 kB / 399.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.1197, allocations: 12 kB / 399.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1199, allocations: 15.86 kB / 399.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1199, allocations: 23.91 kB / 399.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1199, allocations: 12.06 kB / 399.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1201, allocations: 168.5 kB / 399.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1201, allocations: 0 / 399.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.1206, allocations: 140 kB / 399.5 MB, free: 10.01 MB / 302.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.001224/0.1218, allocations: 1.155 MB / 400.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.1235, allocations: 0.7509 MB / 401.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1235, allocations: 0 / 401.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006731/0.1242, allocations: 211.7 kB / 401.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1246, allocations: 32.45 kB / 401.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.1288, allocations: 3.326 MB / 404.9 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1292, allocations: 0.7682 MB / 405.7 MB, free: 3.605 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1293, allocations: 26.22 kB / 405.7 MB, free: 3.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.1294, allocations: 71.41 kB / 405.8 MB, free: 3.504 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1294, allocations: 0 / 405.8 MB, free: 3.504 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3882/0.5176, allocations: 7.556 MB / 413.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/0.518, allocations: 186.4 kB / 413.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.895, allocations: 3.938 kB / 413.5 MB, free: 11.64 MB / 318.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipes.fmu > MEV_MEV.Test.TestPipes.pipe 2>&1)