Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPipeSegment.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.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",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.006944/0.006944, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001862/0.001862, allocations: 194.3 kB / 16.68 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.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008716/0.008716, allocations: 1.928 MB / 271.8 MB, free: 3.266 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.002158/0.002158, allocations: 71.91 kB / 377.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.08471, allocations: 47.12 MB / 424.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.1541/0.2389, allocations: 2.231 MB / 427.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.2398, allocations: 0.6472 MB / 427.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.2399, allocations: 1.719 kB / 427.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.801e-05/0.24, allocations: 23.23 kB / 427.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.2402, allocations: 68 kB / 427.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.2404, allocations: 56 kB / 427.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.2407, allocations: 227 kB / 428.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2408, allocations: 33.5 kB / 428.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2409, allocations: 92.2 kB / 428.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.2411, allocations: 85.73 kB / 428.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.2411, allocations: 15.56 kB / 428.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.603e-05/0.2412, allocations: 25.41 kB / 428.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.2412, allocations: 39.41 kB / 428.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.2413, allocations: 85.08 kB / 428.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2415, allocations: 181.9 kB / 428.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2415, allocations: 2.297 kB / 428.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2415, allocations: 3.938 kB / 428.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2416, allocations: 0 / 428.7 MB, free: 10.06 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006215/0.2422, allocations: 497.1 kB / 429.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2422, allocations: 14.52 kB / 429.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.2423, allocations: 45.52 kB / 429.2 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.2423, allocations: 22.25 kB / 429.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2425, allocations: 222.6 kB / 429.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2425, allocations: 15.69 kB / 429.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.2425, allocations: 12.48 kB / 429.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.2428, allocations: 137.9 kB / 429.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2428, allocations: 3.938 kB / 429.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2428, allocations: 7.344 kB / 429.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2428, allocations: 2.938 kB / 429.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.243, allocations: 96.61 kB / 429.7 MB, free: 9.32 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.0006505/0.2437, allocations: 0.5019 MB / 430.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.244, allocations: 159.6 kB / 430.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.2442, allocations: 98.16 kB / 430.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.2443, allocations: 3.062 kB / 430.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.2443, allocations: 36.41 kB / 430.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.2443, allocations: 1.125 kB / 430.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002431/0.2467, allocations: 0.8375 MB / 431.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2468, allocations: 62.12 kB / 431.4 MB, free: 8.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2469, allocations: 180 kB / 431.6 MB, free: 8.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2469, allocations: 30.73 kB / 431.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.247, allocations: 114.6 kB / 431.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.247, allocations: 59.78 kB / 431.8 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.2471, allocations: 40.45 kB / 431.8 MB, free: 8.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.2471, allocations: 323 kB / 432.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.2473, allocations: 55.58 kB / 432.2 MB, free: 7.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.944e-05/0.2474, allocations: 51.72 kB / 432.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.2476, allocations: 125.2 kB / 432.4 MB, free: 7.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2476, allocations: 5.094 kB / 432.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004283/0.248, allocations: 221.7 kB / 432.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.248, allocations: 9.844 kB / 432.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.2481, allocations: 1.031 kB / 432.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.2487, allocations: 96.56 kB / 432.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.2491, allocations: 70.42 kB / 432.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004681/0.2496, allocations: 1.181 MB / 433.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2497, allocations: 3.719 kB / 434 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2498, allocations: 11.59 kB / 434 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000132/0.2499, allocations: 135.7 kB / 434.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.81e-05/0.25, allocations: 50.05 kB / 434.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001826/0.2502, allocations: 116.2 kB / 434.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.2502, allocations: 0 / 434.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004606/0.2507, allocations: 222.7 kB / 434.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.2507, allocations: 6.328 kB / 434.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-06/0.2507, allocations: 0 / 434.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/0.251, allocations: 76.58 kB / 434.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2512, allocations: 42.19 kB / 434.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.2525, allocations: 1.84 MB / 436.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.981e-05/0.2526, allocations: 6.734 kB / 436.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.2526, allocations: 4.031 kB / 436.4 MB, free: 4.32 MB / 318.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/0.2527, allocations: 195.7 kB / 436.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.2527, allocations: 15.06 kB / 436.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/0.2533, allocations: 244.3 kB / 436.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2533, allocations: 2.219 kB / 436.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.2533, allocations: 0 / 436.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2533, allocations: 2.438 kB / 436.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.2536, allocations: 254.9 kB / 437.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2536, allocations: 7 kB / 437.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.254, allocations: 62.69 kB / 437.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/0.2545, allocations: 86.33 kB / 437.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2545, allocations: 6.625 kB / 437.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004283/0.255, allocations: 1.184 MB / 438.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.255, allocations: 0 / 438.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.2556, allocations: 396.9 kB / 438.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.2557, allocations: 108.1 kB / 439 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.2557, allocations: 6.422 kB / 439 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2559, allocations: 6.859 kB / 439 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.2559, allocations: 8.562 kB / 439 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2559, allocations: 8.281 kB / 439 MB, free: 2.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.682e-05/0.256, allocations: 131.9 kB / 439.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.256, allocations: 0 / 439.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.2564, allocations: 85.03 kB / 439.2 MB, free: 2.105 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pipeSegment.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007932/0.2572, allocations: 0.9238 MB / 440.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009772/0.2582, allocations: 382.7 kB / 440.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2582, allocations: 0 / 440.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.2587, allocations: 115.2 kB / 440.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.2591, allocations: 17.16 kB / 440.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.2618, allocations: 2.253 MB / 442.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.2622, allocations: 0.7257 MB / 443.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.185e-05/0.2623, allocations: 17.47 kB / 443.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.2624, allocations: 40.88 kB / 443.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2624, allocations: 0 / 443.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.293, allocations: 4.602 MB / 448.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.3, allocations: 9.172 kB / 448.3 MB, free: 13.93 MB / 334.1 MB (rm -f MEV_MEV.Test.TestPipeSegment.pipe ; mkfifo MEV_MEV.Test.TestPipeSegment.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipeSegment.pipe >> ../files/MEV_MEV.Test.TestPipeSegment.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestPipeSegment_res.csv --start-time 0 --stop-time 0.002 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-07 MEV_MEV_Test_TestPipeSegment.fmu > MEV_MEV.Test.TestPipeSegment.pipe 2>&1)