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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.0009631/0.000963, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009878/0.0009878, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01028/0.01028, allocations: 1.92 MB / 272.3 MB, free: 3.406 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.0004984/0.0004984, allocations: 16.22 kB / 331 MB, free: 33.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08641, allocations: 48.1 MB / 379.1 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.002869/0.08931, allocations: 2.624 MB / 381.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.09085, allocations: 0.836 MB / 382.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.09112, allocations: 0 / 382.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.09127, allocations: 47.66 kB / 382.6 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.0917, allocations: 171.4 kB / 382.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.09198, allocations: 71.91 kB / 382.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.09231, allocations: 284.3 kB / 383.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.09246, allocations: 57.17 kB / 383.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.09263, allocations: 127.5 kB / 383.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.09283, allocations: 155.3 kB / 383.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.09287, allocations: 12 kB / 383.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.09296, allocations: 28 kB / 383.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.09301, allocations: 51.8 kB / 383.5 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.09309, allocations: 85.52 kB / 383.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.09331, allocations: 227.4 kB / 383.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.09332, allocations: 0 / 383.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.09333, allocations: 0 / 383.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.09334, allocations: 4 kB / 383.8 MB, free: 12.35 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.0009163/0.09427, allocations: 0.5728 MB / 384.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.09431, allocations: 8.031 kB / 384.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/0.09438, allocations: 58.55 kB / 384.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.09443, allocations: 31.62 kB / 384.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.09469, allocations: 250.5 kB / 384.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.09471, allocations: 24.52 kB / 384.7 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.09476, allocations: 24 kB / 384.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.09515, allocations: 236.8 kB / 385 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.09517, allocations: 0 / 385 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.0952, allocations: 12 kB / 385 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.09521, allocations: 4 kB / 385 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.09555, allocations: 186.2 kB / 385.2 MB, free: 10.85 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.001092/0.09665, allocations: 0.7485 MB / 385.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.0972, allocations: 314.7 kB / 386.3 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.09724, allocations: 8.516 kB / 386.3 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.09727, allocations: 30.56 kB / 386.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.09728, allocations: 0 / 386.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.004969/0.1023, allocations: 1.551 MB / 387.8 MB, free: 8.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1023, allocations: 55.41 kB / 387.9 MB, free: 7.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1026, allocations: 233 kB / 388.1 MB, free: 7.734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1026, allocations: 33.69 kB / 388.2 MB, free: 7.695 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.1027, allocations: 128.8 kB / 388.3 MB, free: 7.566 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/0.1028, allocations: 138.2 kB / 388.4 MB, free: 7.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.1028, allocations: 4 kB / 388.4 MB, free: 7.426 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1029, allocations: 330.8 kB / 388.7 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.1031, allocations: 87.97 kB / 388.8 MB, free: 7.008 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.1033, allocations: 99.45 kB / 388.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.1035, allocations: 100 kB / 389 MB, free: 6.812 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1035, allocations: 4 kB / 389 MB, free: 6.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007229/0.1043, allocations: 379 kB / 389.4 MB, free: 6.426 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-05/0.1044, allocations: 98.59 kB / 389.5 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1044, allocations: 3.938 kB / 389.5 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.1059, allocations: 269.4 kB / 389.8 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.1065, allocations: 87.94 kB / 389.8 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.1079, allocations: 1.866 MB / 391.7 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.1081, allocations: 8.031 kB / 391.7 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.1082, allocations: 11.98 kB / 391.7 MB, free: 4.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1082, allocations: 4 kB / 391.7 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001013/0.1092, allocations: 388.9 kB / 392.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1092, allocations: 3.953 kB / 392.1 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007951/0.11, allocations: 205.5 kB / 392.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.1103, allocations: 59.91 kB / 392.4 MB, free: 3.348 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.1142, allocations: 3.645 MB / 396 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1143, allocations: 8.125 kB / 396 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1144, allocations: 15.94 kB / 396 MB, free: 15.41 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {2 10,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.1146, allocations: 213.1 kB / 396.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/0.1147, allocations: 27.62 kB / 396.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/0.1156, allocations: 422.6 kB / 396.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1156, allocations: 7.938 kB / 396.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1156, allocations: 4.062 kB / 396.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1156, allocations: 0 / 396.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.116, allocations: 353.4 kB / 397.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.116, allocations: 0 / 397.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.1167, allocations: 83.88 kB / 397.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.1184, allocations: 245.5 kB / 397.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.1184, allocations: 12 kB / 397.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.12, allocations: 1.859 MB / 399.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.12, allocations: 0 / 399.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.1212, allocations: 0.603 MB / 399.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.1213, allocations: 136.7 kB / 400 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.1214, allocations: 11.95 kB / 400 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.1216, allocations: 8 kB / 400 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.1217, allocations: 19.97 kB / 400 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.1218, allocations: 8 kB / 400 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.122, allocations: 168.5 kB / 400.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.122, allocations: 0 / 400.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006925/0.1227, allocations: 152 kB / 400.3 MB, free: 10.92 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {1 6,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00175/0.1244, allocations: 1.155 MB / 401.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.1266, allocations: 0.763 MB / 402.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1267, allocations: 0 / 402.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.1276, allocations: 219.7 kB / 402.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.128, allocations: 36.36 kB / 402.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.1326, allocations: 1.956 MB / 404.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.133, allocations: 0.776 MB / 405.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.1332, allocations: 22.27 kB / 405.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1333, allocations: 71.42 kB / 405.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1333, allocations: 0 / 405.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.1544, allocations: 7.223 MB / 412.6 MB, free: 14.56 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.1546, allocations: 165.1 kB / 412.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.158, allocations: 0 / 412.7 MB, free: 14.32 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/linux/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) Environment - environmentSimulation: