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.01063/0.01063, 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.01558/0.01558, 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.66/1.66, 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.0009941/0.0009941, allocations: 94.12 kB / 273.3 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 8.219 kB / 331.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1012, allocations: 48.1 MB / 380 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3184/0.4197, allocations: 76.75 MB / 456.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/0.4202, allocations: 75.95 kB / 456.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01036/0.4305, allocations: 3.362 MB / 460.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4306, allocations: 0 / 460.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.4306, allocations: 4 kB / 460.2 MB, free: 7.273 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006489/0.4313, allocations: 455.5 kB / 460.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4313, allocations: 12.03 kB / 460.7 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.4314, allocations: 46.55 kB / 460.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.4314, allocations: 15.81 kB / 460.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.4317, allocations: 215.6 kB / 460.9 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.4317, allocations: 11.95 kB / 461 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.4318, allocations: 19.84 kB / 461 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.4321, allocations: 137.6 kB / 461.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4321, allocations: 0 / 461.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.4321, allocations: 11.94 kB / 461.1 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4321, allocations: 8 kB / 461.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.4324, allocations: 99.94 kB / 461.2 MB, free: 6.16 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.0008414/0.4332, allocations: 0.4962 MB / 461.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.4335, allocations: 158.7 kB / 461.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.4336, allocations: 0 / 461.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.4336, allocations: 46.55 kB / 461.9 MB, free: 5.395 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.4336, allocations: 0 / 461.9 MB, free: 5.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.002467/0.4361, allocations: 0.8178 MB / 462.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4362, allocations: 51.41 kB / 462.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4363, allocations: 153.5 kB / 462.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.4363, allocations: 33.7 kB / 463 MB, free: 4.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.4364, allocations: 108.5 kB / 463.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.4365, allocations: 67.08 kB / 463.1 MB, free: 4.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.4365, allocations: 7.938 kB / 463.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4366, allocations: 322.8 kB / 463.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.4367, allocations: 47.92 kB / 463.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.4368, allocations: 55.92 kB / 463.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.437, allocations: 52.3 kB / 463.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.437, allocations: 4 kB / 463.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004243/0.4374, allocations: 202.3 kB / 463.8 MB, free: 3.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.4375, allocations: 93.88 kB / 463.9 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4375, allocations: 0 / 463.9 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005801/0.4381, allocations: 92.72 kB / 464 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.4385, allocations: 59.94 kB / 464.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008458/0.4394, allocations: 1.189 MB / 465.3 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.4395, allocations: 0 / 465.3 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.4395, allocations: 16.02 kB / 465.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4396, allocations: 7.984 kB / 465.3 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004916/0.4401, allocations: 184.8 kB / 465.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4401, allocations: 3.984 kB / 465.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/0.4404, allocations: 64.8 kB / 465.5 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.4406, allocations: 51.97 kB / 465.6 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.4423, allocations: 1.651 MB / 467.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.4424, allocations: 7.953 kB / 467.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.4424, allocations: 7.984 kB / 467.2 MB, free: 15.76 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 (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.0001705/0.4426, allocations: 201.1 kB / 467.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.4427, allocations: 15.81 kB / 467.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.4433, allocations: 240.2 kB / 467.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4433, allocations: 11.92 kB / 467.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.4433, allocations: 0 / 467.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4433, allocations: 3.984 kB / 467.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.4436, allocations: 257.6 kB / 468 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4436, allocations: 4 kB / 468 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.4441, allocations: 59.89 kB / 468 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005053/0.4446, allocations: 84.78 kB / 468.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.4446, allocations: 12 kB / 468.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006923/0.4453, allocations: 1.182 MB / 469.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4453, allocations: 7.984 kB / 469.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.446, allocations: 399.2 kB / 469.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4461, allocations: 104.9 kB / 469.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.4462, allocations: 7.984 kB / 469.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.4463, allocations: 12.06 kB / 469.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.4463, allocations: 7.984 kB / 469.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4464, allocations: 4 kB / 469.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.4465, allocations: 140.5 kB / 470 MB, free: 12.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4465, allocations: 0 / 470 MB, free: 12.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00041/0.4469, allocations: 83.92 kB / 470 MB, free: 12.8 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 () * Number of clocked 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.0009899/0.4479, allocations: 0.9164 MB / 471 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4489, allocations: 382.9 kB / 471.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4489, allocations: 3.938 kB / 471.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.4494, allocations: 107.9 kB / 471.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.4496, allocations: 16 kB / 471.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.4516, allocations: 1.214 MB / 472.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.4519, allocations: 0.7284 MB / 473.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.375e-05/0.452, allocations: 17.41 kB / 473.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.4521, allocations: 43.42 kB / 473.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4521, allocations: 0 / 473.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.4689, allocations: 4.021 MB / 477.5 MB, free: 5.246 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/0.4692, allocations: 169.5 kB / 477.6 MB, free: 5.004 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.211, allocations: 0 / 477.6 MB, free: 5.004 MB / 346.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)