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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001219/0.001219, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.518/1.518, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009439/0.009439, allocations: 1.928 MB / 271.4 MB, free: 3.496 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.00134/0.00134, allocations: 75.78 kB / 329.4 MB, free: 33.06 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08787/0.08922, allocations: 47.14 MB / 376.6 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.003798/0.09306, allocations: 2.548 MB / 379.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.09417, allocations: 0.6791 MB / 379.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.09426, allocations: 0 / 379.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.769e-05/0.09434, allocations: 15.91 kB / 379.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.09451, allocations: 59.53 kB / 379.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.09475, allocations: 51.89 kB / 379.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.09499, allocations: 227.4 kB / 380.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.09513, allocations: 37.88 kB / 380.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.09527, allocations: 87.64 kB / 380.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.09542, allocations: 95.56 kB / 380.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.09545, allocations: 12 kB / 380.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.942e-05/0.09553, allocations: 24 kB / 380.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.09557, allocations: 39.83 kB / 380.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.09565, allocations: 87.59 kB / 380.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.09583, allocations: 175.4 kB / 380.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.09585, allocations: 0 / 380.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09585, allocations: 0 / 380.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.09586, allocations: 0 / 380.7 MB, free: 13.73 MB / 286.1 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.0007204/0.09659, allocations: 490.6 kB / 381.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.09664, allocations: 19.83 kB / 381.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.09669, allocations: 46.73 kB / 381.2 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.09674, allocations: 16.75 kB / 381.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.09696, allocations: 220.7 kB / 381.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.09697, allocations: 8.375 kB / 381.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.09701, allocations: 12.38 kB / 381.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.09727, allocations: 137.7 kB / 381.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.09729, allocations: 3.938 kB / 381.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.09731, allocations: 8 kB / 381.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.09732, allocations: 4 kB / 381.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.09754, allocations: 99.89 kB / 381.7 MB, free: 12.59 MB / 286.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.0007292/0.09828, allocations: 0.4961 MB / 382.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.09858, allocations: 158.7 kB / 382.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.0988, allocations: 100.8 kB / 382.5 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.09884, allocations: 0 / 382.5 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.09887, allocations: 38.5 kB / 382.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 8.91e-07/0.09888, allocations: 4 kB / 382.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002486/0.1014, allocations: 0.8388 MB / 383.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.1014, allocations: 59.34 kB / 383.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1016, allocations: 182.9 kB / 383.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1016, allocations: 29.7 kB / 383.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.1017, allocations: 112.5 kB / 383.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.1017, allocations: 67.08 kB / 383.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.1018, allocations: 37.62 kB / 383.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1019, allocations: 326.8 kB / 384.2 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1021, allocations: 52.84 kB / 384.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.1022, allocations: 43.98 kB / 384.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.1024, allocations: 133 kB / 384.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1024, allocations: 0 / 384.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004356/0.1028, allocations: 218.2 kB / 384.6 MB, free: 9.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1029, allocations: 4 kB / 384.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1029, allocations: 0 / 384.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.1035, allocations: 100.8 kB / 384.7 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.104, allocations: 71.88 kB / 384.8 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007033/0.1047, allocations: 1.185 MB / 386 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1048, allocations: 3.984 kB / 386 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1049, allocations: 8.031 kB / 386 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001509/0.105, allocations: 136.1 kB / 386.1 MB, free: 7.961 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.613e-05/0.1051, allocations: 52 kB / 386.2 MB, free: 7.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001922/0.1053, allocations: 113.3 kB / 386.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.1053, allocations: 4.094 kB / 386.3 MB, free: 7.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004989/0.1058, allocations: 222.1 kB / 386.5 MB, free: 7.566 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1058, allocations: 8 kB / 386.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.1059, allocations: 0 / 386.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.1061, allocations: 76.73 kB / 386.6 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.1063, allocations: 39.97 kB / 386.6 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.1079, allocations: 1.83 MB / 388.4 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.108, allocations: 8.062 kB / 388.4 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1081, allocations: 4 kB / 388.4 MB, free: 5.465 MB / 286.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.1082, allocations: 193.1 kB / 388.6 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.1082, allocations: 19.81 kB / 388.7 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005579/0.1088, allocations: 248 kB / 388.9 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1088, allocations: 3.938 kB / 388.9 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1088, allocations: 0 / 388.9 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1088, allocations: 0 / 388.9 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.1091, allocations: 261.6 kB / 389.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1091, allocations: 3.938 kB / 389.2 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.1095, allocations: 55.95 kB / 389.2 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.11, allocations: 88.78 kB / 389.3 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.11, allocations: 8 kB / 389.3 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000628/0.1107, allocations: 1.189 MB / 390.5 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1107, allocations: 0 / 390.5 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.1113, allocations: 390.4 kB / 390.9 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.1114, allocations: 108.9 kB / 391 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1115, allocations: 0 / 391 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1116, allocations: 8 kB / 391 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1116, allocations: 7.984 kB / 391 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1117, allocations: 8 kB / 391 MB, free: 2.742 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.786e-05/0.1118, allocations: 132.1 kB / 391.1 MB, free: 2.613 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1118, allocations: 3.938 kB / 391.1 MB, free: 2.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003776/0.1121, allocations: 75.94 kB / 391.2 MB, free: 2.535 MB / 286.1 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 (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009321/0.1131, allocations: 0.92 MB / 392.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1141, allocations: 386.4 kB / 392.5 MB, free: 1.195 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1141, allocations: 0 / 392.5 MB, free: 1.195 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.1146, allocations: 119.8 kB / 392.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1149, allocations: 28.2 kB / 392.7 MB, free: 1.051 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.1177, allocations: 2.299 MB / 395 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.118, allocations: 0.7245 MB / 395.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.1181, allocations: 17.41 kB / 395.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.1181, allocations: 43.42 kB / 395.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1182, allocations: 0 / 395.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4537/0.5719, allocations: 4.393 MB / 400.1 MB, free: 9.449 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/0.5722, allocations: 194.4 kB / 400.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.517, allocations: 4 kB / 400.3 MB, free: 9.184 MB / 302.1 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/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)