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.0009159/0.0009159, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001003/0.001003, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.201/1.201, allocations: 205.4 MB / 222.5 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007111/0.007111, allocations: 1.919 MB / 272.7 MB, free: 3.301 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.000602/0.000602, allocations: 19.94 kB / 331.6 MB, free: 32.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06537/0.06598, allocations: 48.1 MB / 379.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.002947/0.06896, allocations: 2.995 MB / 382.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.07039, allocations: 0.8315 MB / 383.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.673e-05/0.07051, allocations: 4 kB / 383.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.94e-05/0.07058, allocations: 27.75 kB / 383.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.07081, allocations: 99.2 kB / 383.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.07104, allocations: 95.84 kB / 383.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.07139, allocations: 399 kB / 384.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.07153, allocations: 64.92 kB / 384.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.07171, allocations: 131.4 kB / 384.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.07191, allocations: 155.3 kB / 384.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.07195, allocations: 16 kB / 384.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.54e-05/0.07204, allocations: 31.98 kB / 384.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.07209, allocations: 55.75 kB / 384.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.07223, allocations: 172.9 kB / 384.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.07251, allocations: 306.9 kB / 385.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.07252, allocations: 0 / 385.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.07253, allocations: 3.938 kB / 385.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.07254, allocations: 0 / 385.1 MB, free: 11.36 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.0009238/0.07347, allocations: 0.5769 MB / 385.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.07351, allocations: 8.031 kB / 385.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.07357, allocations: 62.66 kB / 385.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.07363, allocations: 32.56 kB / 385.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.07389, allocations: 263.7 kB / 386 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.07391, allocations: 12.94 kB / 386 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.07396, allocations: 28.28 kB / 386 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.07436, allocations: 237 kB / 386.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.07438, allocations: 0 / 386.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.07442, allocations: 15.94 kB / 386.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.07443, allocations: 11.98 kB / 386.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.07478, allocations: 190.2 kB / 386.5 MB, free: 9.836 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.00108/0.07587, allocations: 0.7368 MB / 387.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.07645, allocations: 314.6 kB / 387.5 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.07671, allocations: 156.8 kB / 387.7 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.07676, allocations: 4 kB / 387.7 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.07679, allocations: 34.56 kB / 387.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.312e-06/0.0768, allocations: 4 kB / 387.7 MB, free: 8.523 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.00505/0.08185, allocations: 1.563 MB / 389.3 MB, free: 6.863 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.0819, allocations: 55.41 kB / 389.3 MB, free: 6.797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.08211, allocations: 237 kB / 389.6 MB, free: 6.555 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.08214, allocations: 29.7 kB / 389.6 MB, free: 6.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.08222, allocations: 132.9 kB / 389.7 MB, free: 6.387 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.0823, allocations: 126.1 kB / 389.8 MB, free: 6.262 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.08236, allocations: 33.7 kB / 389.9 MB, free: 6.223 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.08247, allocations: 330.8 kB / 390.2 MB, free: 5.891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.08265, allocations: 91.97 kB / 390.3 MB, free: 5.801 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.08284, allocations: 103.5 kB / 390.4 MB, free: 5.699 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.08323, allocations: 241.2 kB / 390.6 MB, free: 5.461 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.08324, allocations: 0 / 390.6 MB, free: 5.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007757/0.08402, allocations: 402.2 kB / 391 MB, free: 5.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.08409, allocations: 106.9 kB / 391.1 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.0841, allocations: 0 / 391.1 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.08569, allocations: 273.4 kB / 391.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.08623, allocations: 87.86 kB / 391.5 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.08743, allocations: 1.855 MB / 393.3 MB, free: 2.656 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.08762, allocations: 12.02 kB / 393.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.08765, allocations: 12 kB / 393.4 MB, free: 2.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.08767, allocations: 6.656 kB / 393.4 MB, free: 2.629 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009636/0.08864, allocations: 397.1 kB / 393.8 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.08865, allocations: 4 kB / 393.8 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000782/0.08944, allocations: 197.5 kB / 393.9 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.08971, allocations: 63.84 kB / 394 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/0.09341, allocations: 3.603 MB / 397.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.09359, allocations: 12.02 kB / 397.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.09362, allocations: 12 kB / 397.6 MB, free: 14.07 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.0001936/0.09382, allocations: 217.2 kB / 397.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.09388, allocations: 31.56 kB / 397.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008866/0.09478, allocations: 410.7 kB / 398.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.09479, allocations: 4 kB / 398.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.0948, allocations: 4 kB / 398.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.09481, allocations: 3.984 kB / 398.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.09525, allocations: 361.4 kB / 398.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.09526, allocations: 0 / 398.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.09579, allocations: 83.88 kB / 398.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.09721, allocations: 257.8 kB / 399 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.09724, allocations: 8 kB / 399 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.0984, allocations: 1.855 MB / 400.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.09841, allocations: 0 / 400.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/0.0994, allocations: 0.6223 MB / 401.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.09955, allocations: 136.8 kB / 401.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.09959, allocations: 4 kB / 401.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.0998, allocations: 8 kB / 401.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.09986, allocations: 23.91 kB / 401.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.09989, allocations: 12.06 kB / 401.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1001, allocations: 176.4 kB / 401.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1001, allocations: 0 / 401.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005529/0.1006, allocations: 144 kB / 402 MB, free: 9.551 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.001281/0.1019, allocations: 1.161 MB / 403.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.1037, allocations: 0.7587 MB / 403.9 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1037, allocations: 4 kB / 403.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.1044, allocations: 215.7 kB / 404.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.1048, allocations: 40.39 kB / 404.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.1093, allocations: 3.39 MB / 407.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1096, allocations: 0.7759 MB / 408.3 MB, free: 3.043 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.1098, allocations: 22.28 kB / 408.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.1099, allocations: 71.41 kB / 408.4 MB, free: 2.953 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1099, allocations: 0 / 408.4 MB, free: 2.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6191/0.729, allocations: 7.429 MB / 415.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/0.7294, allocations: 181.7 kB / 416 MB, free: 11.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.857, allocations: 0 / 416 MB, free: 11.25 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)