Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPipeSegment.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.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",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.0009927/0.0009926, allocations: 174.7 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.007595/0.007595, 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.38/1.38, allocations: 205.2 MB / 221.4 MB, free: 7.332 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.0008488/0.0008488, allocations: 79.83 kB / 270.1 MB, free: 7.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.62e-05, allocations: 7.984 kB / 326.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2992, allocations: 48.07 MB / 374.2 MB, free: 44.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4212, allocations: 76.67 MB / 450.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.4216, allocations: 67.97 kB / 450.9 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0135/0.4351, allocations: 3.363 MB / 454.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4351, allocations: 0 / 454.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.4351, allocations: 4 kB / 454.3 MB, free: 14.75 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007086/0.4359, allocations: 438.8 kB / 454.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4359, allocations: 12.03 kB / 454.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.397e-05/0.436, allocations: 46.55 kB / 454.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.4361, allocations: 15.81 kB / 454.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.4364, allocations: 216.1 kB / 455 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.4364, allocations: 11.95 kB / 455 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.4365, allocations: 19.91 kB / 455 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.4368, allocations: 129.6 kB / 455.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4369, allocations: 4 kB / 455.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.4369, allocations: 8 kB / 455.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4369, allocations: 0 / 455.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.4372, allocations: 84 kB / 455.2 MB, free: 13.69 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.001133/0.4384, allocations: 0.4923 MB / 455.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.4388, allocations: 150 kB / 455.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.4391, allocations: 93.25 kB / 456 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.4392, allocations: 11.88 kB / 456 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4392, allocations: 38.52 kB / 456 MB, free: 12.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.4393, allocations: 0 / 456 MB, free: 12.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.002527/0.4418, allocations: 0.6021 MB / 456.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.4419, allocations: 67.3 kB / 456.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.4421, allocations: 153.5 kB / 456.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.4421, allocations: 29.7 kB / 456.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.4422, allocations: 106.1 kB / 457 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.4423, allocations: 59.11 kB / 457 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.4423, allocations: 4 kB / 457 MB, free: 11.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4425, allocations: 322.8 kB / 457.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4426, allocations: 40 kB / 457.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4427, allocations: 45.38 kB / 457.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.4429, allocations: 47.25 kB / 457.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.4429, allocations: 0 / 457.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006056/0.4435, allocations: 194.2 kB / 457.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/0.4436, allocations: 93.86 kB / 457.8 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4436, allocations: 4 kB / 457.8 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008698/0.4445, allocations: 91.52 kB / 457.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.4452, allocations: 63.94 kB / 457.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.4463, allocations: 1.181 MB / 459.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.4465, allocations: 4.031 kB / 459.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.4465, allocations: 7.938 kB / 459.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.4466, allocations: 4 kB / 459.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00067/0.4472, allocations: 172.8 kB / 459.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.4473, allocations: 0 / 459.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004538/0.4477, allocations: 72.75 kB / 459.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.4481, allocations: 47.91 kB / 459.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.4504, allocations: 1.641 MB / 461 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.4506, allocations: 4.047 kB / 461 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.4507, allocations: 12.03 kB / 461.1 MB, free: 7.516 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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: 1 * 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: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.4508, allocations: 109 kB / 461.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.4509, allocations: 19.77 kB / 461.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008455/0.4518, allocations: 227.3 kB / 461.4 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4518, allocations: 0 / 461.4 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4518, allocations: 10.48 kB / 461.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4518, allocations: 3.984 kB / 461.4 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.4523, allocations: 253.6 kB / 461.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4523, allocations: 0 / 461.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.453, allocations: 59.89 kB / 461.7 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007615/0.4538, allocations: 93.64 kB / 461.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.4538, allocations: 4 kB / 461.8 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.4548, allocations: 1.181 MB / 463 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4549, allocations: 0 / 463 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.4558, allocations: 372.6 kB / 463.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.4559, allocations: 113 kB / 463.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.456, allocations: 7.984 kB / 463.5 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4562, allocations: 4 kB / 463.5 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.4563, allocations: 11.98 kB / 463.5 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.4563, allocations: 4 kB / 463.5 MB, free: 4.922 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.4565, allocations: 136.6 kB / 463.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4565, allocations: 0 / 463.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007229/0.4573, allocations: 79.94 kB / 463.7 MB, free: 4.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pipeSegment.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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: 1 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/0.4586, allocations: 0.9082 MB / 464.6 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4599, allocations: 356 kB / 465 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.46, allocations: 0 / 465 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006363/0.4606, allocations: 107.3 kB / 465.1 MB, free: 3.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.461, allocations: 16.89 kB / 465.1 MB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4624, allocations: 397.1 kB / 465.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4627, allocations: 0.7248 MB / 466.2 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.4629, allocations: 21.19 kB / 466.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.463, allocations: 39.42 kB / 466.3 MB, free: 2.059 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.463, allocations: 0 / 466.3 MB, free: 2.059 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.4847, allocations: 4.126 MB / 470.4 MB, free: 14 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/0.4851, allocations: 148.7 kB / 470.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.159, allocations: 4 kB / 470.5 MB, free: 13.77 MB / 362.7 MB (rm -f MEV_MEV.Test.TestPipeSegment.pipe ; mkfifo MEV_MEV.Test.TestPipeSegment.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipeSegment.pipe >> ../files/MEV_MEV.Test.TestPipeSegment.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipeSegment_fmu --startTime=0 --stopTime=0.002 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipeSegment.fmu > MEV_MEV.Test.TestPipeSegment.pipe 2>&1)