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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001706/0.001707, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01864/0.01864, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.2 MB / 221.4 MB, free: 7.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007949/0.0007949, allocations: 77.5 kB / 270.1 MB, free: 7.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.982e-05, allocations: 7.984 kB / 326.1 MB, free: 15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2225, allocations: 48.07 MB / 374.2 MB, free: 44.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08174/0.3043, allocations: 76.73 MB / 450.9 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.3045, allocations: 67.97 kB / 451 MB, free: 2.055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.3198, allocations: 5.509 MB / 456.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3199, allocations: 0 / 456.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3199, allocations: 4 kB / 456.5 MB, free: 12.53 MB / 346.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.0008198/0.3207, allocations: 0.5302 MB / 457 MB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3208, allocations: 8.031 kB / 457 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.164e-05/0.3208, allocations: 66.14 kB / 457.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.3209, allocations: 31.62 kB / 457.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.3212, allocations: 243.6 kB / 457.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3212, allocations: 16.56 kB / 457.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.3213, allocations: 27.91 kB / 457.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.3217, allocations: 224.9 kB / 457.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3217, allocations: 4 kB / 457.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.3218, allocations: 4 kB / 457.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3218, allocations: 8 kB / 457.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.3221, allocations: 166.2 kB / 457.8 MB, free: 11.12 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001261/0.3234, allocations: 0.7453 MB / 458.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.324, allocations: 307.4 kB / 458.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.3243, allocations: 140.9 kB / 459 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.3243, allocations: 4 kB / 459 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.3243, allocations: 37.62 kB / 459 MB, free: 9.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.3244, allocations: 4 kB / 459 MB, free: 9.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.003483/0.3278, allocations: 1.056 MB / 460.1 MB, free: 8.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.3279, allocations: 55.41 kB / 460.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3281, allocations: 188.9 kB / 460.3 MB, free: 8.445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.3282, allocations: 37.7 kB / 460.3 MB, free: 8.402 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.3282, allocations: 128.9 kB / 460.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.967e-05/0.3283, allocations: 122.2 kB / 460.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.3284, allocations: 7.938 kB / 460.6 MB, free: 8.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3285, allocations: 338.8 kB / 460.9 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3286, allocations: 80 kB / 461 MB, free: 7.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3288, allocations: 82.5 kB / 461.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.329, allocations: 96.34 kB / 461.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.329, allocations: 0 / 461.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006928/0.3297, allocations: 362.5 kB / 461.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.041e-05/0.3298, allocations: 103.1 kB / 461.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3298, allocations: 0 / 461.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.3313, allocations: 251.2 kB / 461.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.3318, allocations: 75.95 kB / 462 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.3332, allocations: 1.859 MB / 463.8 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.3335, allocations: 8.031 kB / 463.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.3335, allocations: 15.98 kB / 463.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.3335, allocations: 4 kB / 463.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009624/0.3345, allocations: 369.1 kB / 464.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3345, allocations: 0 / 464.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007722/0.3353, allocations: 199.8 kB / 464.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.3355, allocations: 55.97 kB / 464.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.3394, allocations: 3.586 MB / 468 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.3397, allocations: 20.08 kB / 468.1 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.3397, allocations: 8 kB / 468.1 MB, free: 300 kB / 346.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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.3398, allocations: 124.9 kB / 468.2 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.3399, allocations: 28.56 kB / 468.2 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009622/0.3409, allocations: 415 kB / 468.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3409, allocations: 4 kB / 468.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.3409, allocations: 0 / 468.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3409, allocations: 4.047 kB / 468.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.3414, allocations: 365.5 kB / 469 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3414, allocations: 0 / 469 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.3419, allocations: 75.89 kB / 469.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.3433, allocations: 248.1 kB / 469.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.3433, allocations: 8 kB / 469.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.3447, allocations: 1.846 MB / 471.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3447, allocations: 3.984 kB / 471.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3457, allocations: 0.6107 MB / 471.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.3459, allocations: 124.8 kB / 471.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.3459, allocations: 7.953 kB / 471.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3461, allocations: 11.98 kB / 471.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.3462, allocations: 28.03 kB / 471.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3462, allocations: 8 kB / 471.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001481/0.3464, allocations: 161.4 kB / 472.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3464, allocations: 3.938 kB / 472.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005711/0.347, allocations: 147.9 kB / 472.3 MB, free: 11.93 MB / 362.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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001418/0.3484, allocations: 1.14 MB / 473.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.3502, allocations: 0.7369 MB / 474.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3502, allocations: 7.188 kB / 474.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006725/0.3509, allocations: 191.7 kB / 474.3 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3511, allocations: 32.38 kB / 474.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.3528, allocations: 0.6859 MB / 475 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3531, allocations: 0.7728 MB / 475.8 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.3533, allocations: 26.05 kB / 475.8 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3534, allocations: 71.36 kB / 475.9 MB, free: 8.152 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3534, allocations: 0 / 475.9 MB, free: 8.152 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.3749, allocations: 7.41 MB / 483.3 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.3751, allocations: 138.3 kB / 483.5 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.312, allocations: 4 kB / 483.5 MB, free: 0.5859 MB / 362.7 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/linux/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)