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.007239/0.007239, allocations: 172 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01139/0.01139, allocations: 1.935 MB / 17.79 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.4 MB / 224.4 MB, free: 11.99 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.0009414/0.0009415, allocations: 94.12 kB / 273.3 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 8.219 kB / 331.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.1001, allocations: 48.09 MB / 380 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2776/0.3778, allocations: 76.8 MB / 456.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.3781, allocations: 75.95 kB / 456.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01639/0.3945, allocations: 5.507 MB / 462.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3946, allocations: 0 / 462.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.3946, allocations: 4 kB / 462.4 MB, free: 5.078 MB / 330.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.0009705/0.3956, allocations: 0.5619 MB / 463 MB, free: 4.469 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.3957, allocations: 8.031 kB / 463 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.779e-05/0.3957, allocations: 66.53 kB / 463 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.3958, allocations: 35.62 kB / 463.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.3962, allocations: 251.5 kB / 463.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3962, allocations: 20.55 kB / 463.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.3962, allocations: 24 kB / 463.4 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.3968, allocations: 232.8 kB / 463.6 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3968, allocations: 0.7656 kB / 463.6 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.3968, allocations: 12 kB / 463.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3968, allocations: 4 kB / 463.6 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.3972, allocations: 186.2 kB / 463.8 MB, free: 3.59 MB / 330.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.001359/0.3986, allocations: 0.7446 MB / 464.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.3992, allocations: 315.6 kB / 464.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.3993, allocations: 7.984 kB / 464.8 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3993, allocations: 38.56 kB / 464.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.3993, allocations: 0 / 464.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.005508/0.4048, allocations: 1.551 MB / 466.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.4049, allocations: 55.41 kB / 466.5 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.4051, allocations: 196.1 kB / 466.7 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4052, allocations: 37.7 kB / 466.7 MB, free: 476 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.4053, allocations: 128.9 kB / 466.8 MB, free: 344 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.4054, allocations: 130.1 kB / 467 MB, free: 212 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.4054, allocations: 8 kB / 467 MB, free: 204 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4056, allocations: 334.8 kB / 467.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.4058, allocations: 95.7 kB / 467.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.406, allocations: 87.72 kB / 467.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.4062, allocations: 104 kB / 467.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4062, allocations: 0 / 467.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007777/0.407, allocations: 379.1 kB / 468 MB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/0.4071, allocations: 99.25 kB / 468.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4071, allocations: 0 / 468.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.4087, allocations: 249.4 kB / 468.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.4092, allocations: 83.88 kB / 468.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.4106, allocations: 1.851 MB / 470.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.4109, allocations: 16.23 kB / 470.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.4109, allocations: 12 kB / 470.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.411, allocations: 7.125 kB / 470.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001019/0.412, allocations: 392.7 kB / 470.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.412, allocations: 0 / 470.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000843/0.4128, allocations: 197.5 kB / 470.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.4131, allocations: 55.97 kB / 470.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.4173, allocations: 3.656 MB / 474.6 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.4176, allocations: 8.031 kB / 474.6 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.4176, allocations: 12.06 kB / 474.6 MB, free: 8.219 MB / 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 () * 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 (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.000236/0.4178, allocations: 225 kB / 474.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.4179, allocations: 31.67 kB / 474.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009624/0.4189, allocations: 430.5 kB / 475.2 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4189, allocations: 7.984 kB / 475.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4189, allocations: 0 / 475.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4189, allocations: 3.984 kB / 475.3 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.4194, allocations: 353.4 kB / 475.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4194, allocations: 0 / 475.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.4199, allocations: 83.88 kB / 475.7 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.4214, allocations: 241.5 kB / 475.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.4214, allocations: 7.953 kB / 475.9 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.4228, allocations: 1.858 MB / 477.8 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4228, allocations: 0 / 477.8 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.4239, allocations: 0.6261 MB / 478.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.4241, allocations: 132.9 kB / 478.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.4242, allocations: 8 kB / 478.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4244, allocations: 15.98 kB / 478.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.4245, allocations: 23.92 kB / 478.6 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.4245, allocations: 8 kB / 478.6 MB, free: 4.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.4247, allocations: 160.5 kB / 478.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4247, allocations: 0 / 478.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006109/0.4253, allocations: 148 kB / 478.9 MB, free: 3.703 MB / 346.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 (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.001568/0.4269, allocations: 1.178 MB / 480.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.4288, allocations: 0.7636 MB / 480.8 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4288, allocations: 0 / 480.8 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007019/0.4295, allocations: 203.7 kB / 481 MB, free: 1.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.4299, allocations: 36.73 kB / 481.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.4333, allocations: 1.954 MB / 483 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.4337, allocations: 0.7682 MB / 483.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.4339, allocations: 26.27 kB / 483.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.434, allocations: 63.42 kB / 483.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.434, allocations: 0 / 483.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.4642, allocations: 7.24 MB / 491.1 MB, free: 7.332 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/0.4647, allocations: 158.5 kB / 491.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.595, allocations: 4 kB / 491.3 MB, free: 7.09 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)