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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001343/0.001343, allocations: 192.8 kB / 16.25 MB, free: 6.617 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.507/1.507, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01011/0.01011, allocations: 1.932 MB / 271.4 MB, free: 3.5 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.001399/0.001399, allocations: 63.91 kB / 329.4 MB, free: 33.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08326/0.08467, allocations: 47.14 MB / 376.6 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.003856/0.08856, allocations: 3.365 MB / 379.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.08986, allocations: 0.8471 MB / 380.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.08999, allocations: 0 / 380.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.314e-05/0.09009, allocations: 35.73 kB / 380.8 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.09034, allocations: 99.22 kB / 380.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.09066, allocations: 91.84 kB / 381 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.09103, allocations: 423 kB / 381.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.0912, allocations: 68.92 kB / 381.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.0914, allocations: 151.4 kB / 381.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.09161, allocations: 163.3 kB / 381.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.09165, allocations: 28 kB / 381.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.09176, allocations: 47.97 kB / 381.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.09182, allocations: 67.75 kB / 381.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.09196, allocations: 163.2 kB / 382.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.09227, allocations: 326.9 kB / 382.4 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.09228, allocations: 11.88 kB / 382.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09229, allocations: 3.938 kB / 382.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.0923, allocations: 0 / 382.4 MB, free: 11.98 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001044/0.09335, allocations: 0.6157 MB / 383 MB, free: 11.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.09341, allocations: 15.89 kB / 383.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.046e-05/0.09349, allocations: 62.72 kB / 383.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.09356, allocations: 32.56 kB / 383.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.09385, allocations: 251.8 kB / 383.4 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.09388, allocations: 16.94 kB / 383.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.09393, allocations: 28.36 kB / 383.4 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.09436, allocations: 240.9 kB / 383.7 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.09438, allocations: 0 / 383.7 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.09441, allocations: 12 kB / 383.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.09443, allocations: 4 kB / 383.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.09479, allocations: 186.2 kB / 383.9 MB, free: 10.43 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.001163/0.09596, allocations: 0.7368 MB / 384.6 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.09655, allocations: 318.6 kB / 384.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.09679, allocations: 148.8 kB / 385.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.09684, allocations: 4 kB / 385.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.09687, allocations: 38.56 kB / 385.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.303e-06/0.09688, allocations: 0 / 385.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.004973/0.1019, allocations: 1.536 MB / 386.6 MB, free: 7.492 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.1019, allocations: 55.41 kB / 386.7 MB, free: 7.426 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1021, allocations: 237 kB / 386.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.1021, allocations: 37.7 kB / 387 MB, free: 7.141 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.1022, allocations: 132.7 kB / 387.1 MB, free: 7.008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/0.1023, allocations: 118.2 kB / 387.2 MB, free: 6.891 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.1024, allocations: 61.7 kB / 387.3 MB, free: 6.824 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1025, allocations: 330.8 kB / 387.6 MB, free: 6.492 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.1027, allocations: 100.6 kB / 387.7 MB, free: 6.391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1029, allocations: 103.7 kB / 387.8 MB, free: 6.289 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.1032, allocations: 233.2 kB / 388 MB, free: 6.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1033, allocations: 0 / 388 MB, free: 6.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007523/0.104, allocations: 390.2 kB / 388.4 MB, free: 5.664 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.104, allocations: 11.94 kB / 388.4 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1041, allocations: 4 kB / 388.4 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.1056, allocations: 277.4 kB / 388.7 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.1062, allocations: 83.88 kB / 388.8 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1074, allocations: 1.862 MB / 390.6 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1076, allocations: 4 kB / 390.6 MB, free: 3.348 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.1076, allocations: 12.09 kB / 390.6 MB, free: 3.336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002336/0.1079, allocations: 196.1 kB / 390.8 MB, free: 3.141 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001534/0.108, allocations: 87.95 kB / 390.9 MB, free: 3.055 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003356/0.1084, allocations: 217.3 kB / 391.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.1084, allocations: 0 / 391.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009797/0.1094, allocations: 434.4 kB / 391.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1094, allocations: 10.66 kB / 391.6 MB, free: 2.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.1094, allocations: 3.938 kB / 391.6 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/0.1101, allocations: 201.5 kB / 391.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.1104, allocations: 55.97 kB / 391.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/0.1143, allocations: 4 MB / 395.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.1145, allocations: 15.95 kB / 395.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1145, allocations: 15.94 kB / 395.9 MB, free: 13.82 MB / 302.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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,10), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.1146, allocations: 189.1 kB / 396 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.1147, allocations: 23.72 kB / 396.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007989/0.1155, allocations: 418.5 kB / 396.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1155, allocations: 4 kB / 396.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1155, allocations: 4 kB / 396.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1155, allocations: 3.984 kB / 396.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.1159, allocations: 357.5 kB / 396.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1159, allocations: 0 / 396.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.1165, allocations: 75.95 kB / 396.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.1178, allocations: 253.5 kB / 397.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.1179, allocations: 11.94 kB / 397.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.1191, allocations: 1.858 MB / 399 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1191, allocations: 0 / 399 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009395/0.12, allocations: 0.6142 MB / 399.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1201, allocations: 132.8 kB / 399.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.1202, allocations: 8 kB / 399.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.1204, allocations: 11.98 kB / 399.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.1205, allocations: 15.97 kB / 399.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1205, allocations: 12 kB / 399.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1206, allocations: 168.5 kB / 400 MB, free: 9.508 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1206, allocations: 0 / 400 MB, free: 9.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005155/0.1212, allocations: 144.1 kB / 400.1 MB, free: 9.367 MB / 302.1 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 (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,6), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/0.1224, allocations: 1.155 MB / 401.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.1242, allocations: 0.7742 MB / 402.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1243, allocations: 0 / 402.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.125, allocations: 211.8 kB / 402.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.1254, allocations: 32.42 kB / 402.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.1297, allocations: 3.317 MB / 405.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.13, allocations: 0.7682 MB / 406.4 MB, free: 2.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.1301, allocations: 22.27 kB / 406.4 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.399e-05/0.1302, allocations: 67.42 kB / 406.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1302, allocations: 4 kB / 406.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.581/0.7112, allocations: 7.892 MB / 414.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/0.7115, allocations: 178.6 kB / 414.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.766, allocations: 0 / 414.5 MB, free: 10.67 MB / 318.1 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/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)