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.005961/0.005961, allocations: 103.7 kB / 15.73 MB, free: 6.043 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.001349/0.001349, allocations: 197.3 kB / 16.67 MB, free: 5.98 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.336/1.336, allocations: 205.1 MB / 222.6 MB, free: 4.402 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008374/0.008374, allocations: 1.928 MB / 271.8 MB, free: 3.121 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.001517/0.001517, allocations: 67.91 kB / 377.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07907/0.0806, allocations: 47.13 MB / 424.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.1584/0.239, allocations: 2.871 MB / 427.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2402, allocations: 0.7849 MB / 428.5 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.2403, allocations: 2.594 kB / 428.5 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.75e-05/0.2404, allocations: 43.8 kB / 428.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.2407, allocations: 113.4 kB / 428.7 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.241, allocations: 96.92 kB / 428.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.2413, allocations: 426 kB / 429.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2415, allocations: 69.27 kB / 429.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.2417, allocations: 152.6 kB / 429.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.2419, allocations: 166.8 kB / 429.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.242, allocations: 29.06 kB / 429.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.2421, allocations: 49.08 kB / 429.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.2421, allocations: 72.44 kB / 429.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2423, allocations: 162.6 kB / 429.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.2426, allocations: 330.9 kB / 430.2 MB, free: 9.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2426, allocations: 0 / 430.2 MB, free: 9.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2426, allocations: 2.406 kB / 430.2 MB, free: 9.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2427, allocations: 0 / 430.2 MB, free: 9.453 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.0009696/0.2436, allocations: 0.6132 MB / 430.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2437, allocations: 13.77 kB / 430.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.2437, allocations: 64.34 kB / 430.9 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.2438, allocations: 36.09 kB / 430.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.244, allocations: 267.8 kB / 431.2 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.244, allocations: 18.72 kB / 431.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.2441, allocations: 24.53 kB / 431.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.2445, allocations: 232.7 kB / 431.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2445, allocations: 0 / 431.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.2445, allocations: 10.28 kB / 431.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2446, allocations: 10.75 kB / 431.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.2449, allocations: 180.7 kB / 431.7 MB, free: 8.449 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.001094/0.246, allocations: 0.7322 MB / 432.4 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.2466, allocations: 308.2 kB / 432.7 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.2469, allocations: 162.2 kB / 432.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.2469, allocations: 8 kB / 432.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.2469, allocations: 33.3 kB / 432.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.2469, allocations: 0 / 432.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.005019/0.252, allocations: 1.542 MB / 434.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.252, allocations: 54.75 kB / 434.5 MB, free: 6.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.2522, allocations: 233.8 kB / 434.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.2523, allocations: 34.61 kB / 434.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.2523, allocations: 141.8 kB / 434.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.2524, allocations: 122.2 kB / 435 MB, free: 6.441 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.2525, allocations: 61.31 kB / 435.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.2526, allocations: 332.1 kB / 435.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2528, allocations: 102.8 kB / 435.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.253, allocations: 92.59 kB / 435.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.2533, allocations: 230.8 kB / 435.8 MB, free: 5.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2534, allocations: 4 kB / 435.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007914/0.2541, allocations: 397.6 kB / 436.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2542, allocations: 9.656 kB / 436.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2542, allocations: 1.25 kB / 436.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.2558, allocations: 266.2 kB / 436.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.2564, allocations: 85.41 kB / 436.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000933/0.2573, allocations: 1.866 MB / 438.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2575, allocations: 9.078 kB / 438.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.2576, allocations: 11.3 kB / 438.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002165/0.2578, allocations: 188.8 kB / 438.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001484/0.2579, allocations: 94.03 kB / 438.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003175/0.2583, allocations: 219.1 kB / 438.9 MB, free: 3.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.2583, allocations: 0 / 438.9 MB, free: 3.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009743/0.2592, allocations: 435.2 kB / 439.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.2593, allocations: 6.172 kB / 439.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.2593, allocations: 5.25 kB / 439.4 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007254/0.26, allocations: 198 kB / 439.6 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.2603, allocations: 57.89 kB / 439.6 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.2637, allocations: 3.989 MB / 443.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2639, allocations: 10.75 kB / 443.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.264, allocations: 10.28 kB / 443.6 MB, free: 15.84 MB / 334.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.0001276/0.2641, allocations: 201 kB / 443.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.2642, allocations: 33.16 kB / 443.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008235/0.265, allocations: 413.7 kB / 444.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.265, allocations: 4.406 kB / 444.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.265, allocations: 0 / 444.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.265, allocations: 2.25 kB / 444.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.2655, allocations: 366.3 kB / 444.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2655, allocations: 0 / 444.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.266, allocations: 78.3 kB / 444.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.2674, allocations: 251.4 kB / 444.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.2675, allocations: 14.81 kB / 445 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.2687, allocations: 1.847 MB / 446.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2687, allocations: 3.984 kB / 446.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009745/0.2697, allocations: 0.6124 MB / 447.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.2698, allocations: 143.4 kB / 447.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.2699, allocations: 5.375 kB / 447.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2701, allocations: 8.203 kB / 447.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.2701, allocations: 20.98 kB / 447.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.2702, allocations: 6.25 kB / 447.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.2703, allocations: 172.5 kB / 447.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2703, allocations: 3.938 kB / 447.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005692/0.2709, allocations: 143.3 kB / 447.9 MB, free: 12.71 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.001312/0.2722, allocations: 1.146 MB / 449.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.274, allocations: 0.7671 MB / 449.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.274, allocations: 4 kB / 449.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007035/0.2748, allocations: 207.8 kB / 450 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.2752, allocations: 48.38 kB / 450.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.2797, allocations: 3.201 MB / 453.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.2801, allocations: 0.7718 MB / 454.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.2802, allocations: 24.47 kB / 454.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2803, allocations: 72.2 kB / 454.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2804, allocations: 0 / 454.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.3122, allocations: 8.371 MB / 462.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.69, allocations: 7.688 kB / 462.5 MB, free: 4.215 MB / 334.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)