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/Complex 4.0.0+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 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.0009511/0.0009512, allocations: 180.4 kB / 15.15 MB, free: 1.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01304/0.01304, allocations: 1.919 MB / 17.8 MB, free: 5.418 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.54/1.54, allocations: 205.4 MB / 224.5 MB, free: 3.84 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009319, allocations: 95.7 kB / 273.3 MB, free: 2.938 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.0005872/0.0005874, allocations: 12 kB / 332 MB, free: 33.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1014, allocations: 48.1 MB / 380.1 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.004311/0.1057, allocations: 2.842 MB / 382.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.1081, allocations: 0.8124 MB / 383.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.1085, allocations: 4 kB / 383.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.1087, allocations: 43.61 kB / 383.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006124/0.1093, allocations: 142.8 kB / 383.9 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1097, allocations: 79.84 kB / 384 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00063/0.1104, allocations: 383 kB / 384.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.1106, allocations: 53.19 kB / 384.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.111, allocations: 135.4 kB / 384.5 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.1114, allocations: 143.4 kB / 384.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.1115, allocations: 16 kB / 384.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1117, allocations: 31.98 kB / 384.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.1118, allocations: 55.73 kB / 384.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1119, allocations: 81.58 kB / 384.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1123, allocations: 227.4 kB / 385.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1123, allocations: 0 / 385.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1123, allocations: 0 / 385.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1123, allocations: 0 / 385.1 MB, free: 12.01 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.001036/0.1133, allocations: 0.5767 MB / 385.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1134, allocations: 8.031 kB / 385.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.633e-05/0.1135, allocations: 54.55 kB / 385.7 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.1136, allocations: 35.62 kB / 385.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.1139, allocations: 258.4 kB / 386 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1139, allocations: 28.45 kB / 386 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.114, allocations: 24 kB / 386.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.1145, allocations: 224.9 kB / 386.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1145, allocations: 0 / 386.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1146, allocations: 12 kB / 386.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.1146, allocations: 7.984 kB / 386.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.115, allocations: 198.1 kB / 386.5 MB, free: 10.49 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.001302/0.1163, allocations: 0.7407 MB / 387.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.1169, allocations: 306.8 kB / 387.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.1172, allocations: 153.3 kB / 387.7 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.1173, allocations: 7.984 kB / 387.7 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1173, allocations: 42.5 kB / 387.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.1173, allocations: 0 / 387.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.004976/0.1223, allocations: 1.554 MB / 389.3 MB, free: 7.527 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1224, allocations: 55.41 kB / 389.3 MB, free: 7.461 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1227, allocations: 229 kB / 389.6 MB, free: 7.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.1227, allocations: 33.7 kB / 389.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.1228, allocations: 132.9 kB / 389.7 MB, free: 7.055 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.1229, allocations: 122.2 kB / 389.9 MB, free: 6.934 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.1229, allocations: 8 kB / 389.9 MB, free: 6.926 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1231, allocations: 334.8 kB / 390.2 MB, free: 6.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.1232, allocations: 87.95 kB / 390.3 MB, free: 6.504 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.1234, allocations: 99.47 kB / 390.4 MB, free: 6.406 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1236, allocations: 99.98 kB / 390.5 MB, free: 6.309 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1236, allocations: 0 / 390.5 MB, free: 6.309 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007692/0.1244, allocations: 383 kB / 390.8 MB, free: 5.922 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.621e-05/0.1245, allocations: 95.31 kB / 390.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1245, allocations: 0 / 390.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.1262, allocations: 273.4 kB / 391.2 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.1267, allocations: 87.88 kB / 391.3 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.1286, allocations: 1.866 MB / 393.2 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.1289, allocations: 12.03 kB / 393.2 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.1289, allocations: 12 kB / 393.2 MB, free: 3.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1289, allocations: 4 kB / 393.2 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/0.13, allocations: 396.8 kB / 393.6 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.13, allocations: 0 / 393.6 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007513/0.1307, allocations: 193.5 kB / 393.8 MB, free: 2.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.131, allocations: 71.95 kB / 393.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.1354, allocations: 3.587 MB / 397.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.1356, allocations: 12.06 kB / 397.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1356, allocations: 12 kB / 397.4 MB, free: 14.95 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.0002605/0.1359, allocations: 219.7 kB / 397.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.136, allocations: 27.62 kB / 397.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.137, allocations: 422.5 kB / 398.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.137, allocations: 4 kB / 398.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.137, allocations: 4 kB / 398.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.137, allocations: 3.984 kB / 398.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.1375, allocations: 349.4 kB / 398.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1375, allocations: 4 kB / 398.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.1381, allocations: 79.94 kB / 398.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.1394, allocations: 249.5 kB / 398.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.1394, allocations: 7.953 kB / 398.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.1408, allocations: 1.862 MB / 400.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1409, allocations: 3.984 kB / 400.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.1419, allocations: 0.5991 MB / 401.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.1421, allocations: 152.7 kB / 401.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.1422, allocations: 4 kB / 401.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.1424, allocations: 8 kB / 401.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.1424, allocations: 27.83 kB / 401.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1425, allocations: 4 kB / 401.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.1426, allocations: 172.5 kB / 401.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1426, allocations: 0 / 401.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006618/0.1433, allocations: 140 kB / 401.7 MB, free: 10.45 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.001453/0.1448, allocations: 1.147 MB / 402.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.1469, allocations: 0.7707 MB / 403.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1469, allocations: 4 kB / 403.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.1477, allocations: 219.6 kB / 403.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.1481, allocations: 40.45 kB / 403.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.1518, allocations: 1.968 MB / 405.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.1522, allocations: 0.7721 MB / 406.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.1524, allocations: 18.28 kB / 406.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1525, allocations: 71.41 kB / 406.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1525, allocations: 0 / 406.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.1779, allocations: 7.244 MB / 414 MB, free: 14.05 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.1782, allocations: 165 kB / 414.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.08, allocations: 3.938 kB / 414.2 MB, free: 13.81 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)