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.00129/0.00129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008955/0.008955, allocations: 1.932 MB / 271.7 MB, free: 3.332 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.001647/0.001647, allocations: 71.83 kB / 329.9 MB, free: 32.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08289, allocations: 47.13 MB / 377.1 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.004703/0.08765, allocations: 2.872 MB / 379.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.08945, allocations: 0.7809 MB / 380.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.08977, allocations: 0 / 380.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.08997, allocations: 47.55 kB / 380.8 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.09051, allocations: 111 kB / 380.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.091, allocations: 95.81 kB / 381 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000549/0.09157, allocations: 427 kB / 381.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.09178, allocations: 72.81 kB / 381.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.09211, allocations: 147.5 kB / 381.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.09244, allocations: 171.2 kB / 381.8 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.045e-05/0.09252, allocations: 28 kB / 381.8 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.09269, allocations: 47.98 kB / 381.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.09277, allocations: 67.75 kB / 381.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.09298, allocations: 159.3 kB / 382.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.09341, allocations: 326.9 kB / 382.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.09343, allocations: 4 kB / 382.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09344, allocations: 0 / 382.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.09346, allocations: 0 / 382.4 MB, free: 12.19 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.001272/0.09474, allocations: 0.6157 MB / 383 MB, free: 11.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.0948, allocations: 15.89 kB / 383 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.767e-05/0.09489, allocations: 66.66 kB / 383.1 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.09498, allocations: 32.56 kB / 383.1 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.09531, allocations: 259.7 kB / 383.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.09534, allocations: 16.94 kB / 383.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.0954, allocations: 24.38 kB / 383.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.09586, allocations: 237 kB / 383.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.09589, allocations: 3.938 kB / 383.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.09592, allocations: 15.94 kB / 383.7 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.09594, allocations: 4 kB / 383.7 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.09632, allocations: 186.2 kB / 383.9 MB, free: 10.62 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.001256/0.09758, allocations: 0.7407 MB / 384.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.09819, allocations: 306.7 kB / 384.9 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.09847, allocations: 152.8 kB / 385 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.09852, allocations: 4 kB / 385 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.09857, allocations: 38.56 kB / 385.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.09858, allocations: 0 / 385.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.005601/0.1042, allocations: 1.542 MB / 386.6 MB, free: 7.684 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1042, allocations: 59.41 kB / 386.7 MB, free: 7.613 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.1045, allocations: 229 kB / 386.9 MB, free: 7.379 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.1045, allocations: 41.7 kB / 386.9 MB, free: 7.332 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.598e-05/0.1046, allocations: 132.8 kB / 387.1 MB, free: 7.199 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1048, allocations: 118.2 kB / 387.2 MB, free: 7.082 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1049, allocations: 61.7 kB / 387.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.105, allocations: 330.8 kB / 387.6 MB, free: 6.684 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1053, allocations: 100.6 kB / 387.7 MB, free: 6.582 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.1054, allocations: 95.72 kB / 387.8 MB, free: 6.488 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.1059, allocations: 241.2 kB / 388 MB, free: 6.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1059, allocations: 3.938 kB / 388 MB, free: 6.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008253/0.1067, allocations: 390.2 kB / 388.4 MB, free: 5.852 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1067, allocations: 15.92 kB / 388.4 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1068, allocations: 7.938 kB / 388.4 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.1085, allocations: 269.5 kB / 388.7 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.109, allocations: 87.88 kB / 388.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.1106, allocations: 1.866 MB / 390.6 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.1108, allocations: 7.938 kB / 390.6 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.1108, allocations: 8 kB / 390.6 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002519/0.1111, allocations: 200.2 kB / 390.8 MB, free: 3.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001631/0.1112, allocations: 83.97 kB / 390.9 MB, free: 3.234 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003563/0.1116, allocations: 217.3 kB / 391.1 MB, free: 3.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.1116, allocations: 0 / 391.1 MB, free: 3.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001014/0.1126, allocations: 438.4 kB / 391.6 MB, free: 2.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1126, allocations: 8.625 kB / 391.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1127, allocations: 3.938 kB / 391.6 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007861/0.1134, allocations: 193.7 kB / 391.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.1137, allocations: 59.95 kB / 391.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004131/0.1179, allocations: 3.988 MB / 395.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.1181, allocations: 15.95 kB / 395.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1181, allocations: 12 kB / 395.8 MB, free: 14.02 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.0001436/0.1182, allocations: 193.1 kB / 396 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.1183, allocations: 23.72 kB / 396 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008242/0.1191, allocations: 422.5 kB / 396.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.1191, allocations: 4 kB / 396.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.1192, allocations: 0 / 396.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1192, allocations: 7.969 kB / 396.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.1196, allocations: 357.4 kB / 396.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1196, allocations: 0 / 396.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.1201, allocations: 79.94 kB / 396.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.1215, allocations: 249.6 kB / 397.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.1215, allocations: 15.94 kB / 397.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.1228, allocations: 1.855 MB / 399 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1228, allocations: 0 / 399 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009669/0.1238, allocations: 0.6104 MB / 399.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.124, allocations: 140.8 kB / 399.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.124, allocations: 8 kB / 399.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1242, allocations: 12 kB / 399.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1243, allocations: 15.97 kB / 399.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1243, allocations: 12 kB / 399.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1244, allocations: 168.5 kB / 400 MB, free: 9.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1245, allocations: 0 / 400 MB, free: 9.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005535/0.125, allocations: 140 kB / 400.1 MB, free: 9.555 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.00135/0.1264, allocations: 1.155 MB / 401.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.1283, allocations: 0.7781 MB / 402 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1283, allocations: 0 / 402 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.129, allocations: 203.8 kB / 402.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1294, allocations: 36.42 kB / 402.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.134, allocations: 3.22 MB / 405.5 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1344, allocations: 0.7721 MB / 406.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1345, allocations: 18.28 kB / 406.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1346, allocations: 75.34 kB / 406.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1347, allocations: 4 kB / 406.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.1671, allocations: 7.971 MB / 414.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.01, allocations: 4 kB / 414.3 MB, free: 11.07 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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestPipes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestPipes.fmu > MEV_MEV.Test.TestPipes.pipe 2>&1)