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.006093/0.006093, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001624/0.001624, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.383/1.383, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008533/0.008533, allocations: 1.928 MB / 271.8 MB, free: 3.23 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.002054/0.002054, allocations: 64.12 kB / 377.7 MB, free: 0.918 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.09202, allocations: 47.13 MB / 424.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.1683/0.2603, allocations: 2.874 MB / 427.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2615, allocations: 0.783 MB / 428.5 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2617, allocations: 5.375 kB / 428.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.436e-05/0.2617, allocations: 38.42 kB / 428.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.262, allocations: 116 kB / 428.7 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2623, allocations: 104.8 kB / 428.8 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.2627, allocations: 420.1 kB / 429.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.2628, allocations: 69.66 kB / 429.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.263, allocations: 153.3 kB / 429.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.2633, allocations: 162.5 kB / 429.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.2633, allocations: 30.31 kB / 429.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.2634, allocations: 46.34 kB / 429.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.2635, allocations: 67.25 kB / 429.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.2636, allocations: 168.1 kB / 429.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.264, allocations: 334.3 kB / 430.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.264, allocations: 0 / 430.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.264, allocations: 0 / 430.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.264, allocations: 1.344 kB / 430.2 MB, free: 9.441 MB / 318.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.0009801/0.265, allocations: 0.6222 MB / 430.8 MB, free: 8.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2651, allocations: 13.95 kB / 430.8 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.2651, allocations: 60.06 kB / 430.9 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.2652, allocations: 40.83 kB / 430.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.2654, allocations: 267.7 kB / 431.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2655, allocations: 18.45 kB / 431.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.2655, allocations: 24.47 kB / 431.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.2659, allocations: 233.3 kB / 431.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.266, allocations: 0 / 431.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.266, allocations: 6.656 kB / 431.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.266, allocations: 6.141 kB / 431.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.2664, allocations: 185.3 kB / 431.7 MB, free: 8.426 MB / 318.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.001084/0.2674, allocations: 0.7358 MB / 432.4 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.268, allocations: 311.8 kB / 432.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.2683, allocations: 155.5 kB / 432.9 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.2683, allocations: 4.375 kB / 432.9 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.2683, allocations: 36.62 kB / 432.9 MB, free: 7.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.2683, allocations: 0 / 432.9 MB, free: 7.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.005026/0.2734, allocations: 1.555 MB / 434.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.2734, allocations: 54.38 kB / 434.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.2736, allocations: 234.5 kB / 434.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2737, allocations: 31.05 kB / 434.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.2737, allocations: 136.7 kB / 434.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.2738, allocations: 126.7 kB / 435 MB, free: 6.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2739, allocations: 64.88 kB / 435.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.274, allocations: 332.5 kB / 435.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.2742, allocations: 103.5 kB / 435.5 MB, free: 6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.2743, allocations: 93.75 kB / 435.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.2747, allocations: 226.3 kB / 435.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2747, allocations: 4 kB / 435.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007745/0.2755, allocations: 397.3 kB / 436.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2755, allocations: 10.19 kB / 436.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2755, allocations: 3.938 kB / 436.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.2771, allocations: 269 kB / 436.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.2777, allocations: 82.98 kB / 436.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.2787, allocations: 1.874 MB / 438.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.2789, allocations: 8.25 kB / 438.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.279, allocations: 11.47 kB / 438.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002353/0.2792, allocations: 188.8 kB / 438.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001575/0.2794, allocations: 90.47 kB / 438.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003305/0.2797, allocations: 220.9 kB / 439 MB, free: 3.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.2797, allocations: 3.125 kB / 439 MB, free: 3.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009604/0.2807, allocations: 433.8 kB / 439.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.2807, allocations: 6.188 kB / 439.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2807, allocations: 3.938 kB / 439.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007602/0.2815, allocations: 201 kB / 439.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.2818, allocations: 60.8 kB / 439.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.2854, allocations: 3.998 MB / 443.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.2856, allocations: 16.94 kB / 443.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2856, allocations: 11.14 kB / 443.7 MB, free: 15.78 MB / 334.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.0001821/0.2858, allocations: 199.3 kB / 443.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.2859, allocations: 30.98 kB / 443.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009037/0.2868, allocations: 408.7 kB / 444.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.2868, allocations: 3.562 kB / 444.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2868, allocations: 2.594 kB / 444.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2868, allocations: 5.203 kB / 444.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.2873, allocations: 357.8 kB / 444.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2873, allocations: 0 / 444.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.2879, allocations: 74.28 kB / 444.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.2893, allocations: 250.1 kB / 445 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.2893, allocations: 13.97 kB / 445 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.2909, allocations: 1.855 MB / 446.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2909, allocations: 0 / 446.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.292, allocations: 0.6046 MB / 447.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.2922, allocations: 136.9 kB / 447.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.2922, allocations: 10.84 kB / 447.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.2924, allocations: 7.625 kB / 447.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.2925, allocations: 20.88 kB / 447.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.2926, allocations: 11.53 kB / 447.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.2927, allocations: 171.8 kB / 447.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2928, allocations: 7.875 kB / 447.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006016/0.2934, allocations: 140.2 kB / 447.9 MB, free: 12.66 MB / 334.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.001514/0.2949, allocations: 1.153 MB / 449.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.2969, allocations: 0.7672 MB / 449.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2969, allocations: 0 / 449.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007488/0.2977, allocations: 212.2 kB / 450.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.2981, allocations: 40.36 kB / 450.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.3033, allocations: 3.218 MB / 453.3 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.3038, allocations: 0.7728 MB / 454.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.3039, allocations: 23.02 kB / 454.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.3041, allocations: 71.05 kB / 454.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of SimCode: time 4.028e-06/0.3041, allocations: 0 / 454.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/0.342, allocations: 8.156 MB / 462.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.55, allocations: 7.75 kB / 462.4 MB, free: 4.328 MB / 334.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)