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.005123/0.005123, allocations: 99.12 kB / 15.73 MB, free: 6.02 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.001139/0.001139, allocations: 195 kB / 16.67 MB, free: 5.93 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.325/1.325, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008584/0.008584, allocations: 1.932 MB / 271.8 MB, free: 3.238 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.001523/0.001523, allocations: 67.91 kB / 377.7 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07626/0.0778, allocations: 47.13 MB / 424.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.1553/0.2332, allocations: 2.237 MB / 427.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.2342, allocations: 0.6458 MB / 427.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.722e-05/0.2343, allocations: 10.22 kB / 427.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.273e-05/0.2344, allocations: 22.97 kB / 427.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.2346, allocations: 65.34 kB / 427.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.2348, allocations: 54.3 kB / 427.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.235, allocations: 228.1 kB / 428.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2352, allocations: 36.31 kB / 428.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2353, allocations: 88.47 kB / 428.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2354, allocations: 92.03 kB / 428.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.2355, allocations: 19.12 kB / 428.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.2355, allocations: 24.34 kB / 428.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.2356, allocations: 35.98 kB / 428.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.2357, allocations: 86 kB / 428.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2359, allocations: 183.3 kB / 428.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2359, allocations: 1.219 kB / 428.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2359, allocations: 0 / 428.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.2359, allocations: 4 kB / 428.7 MB, free: 10.05 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.0006405/0.2366, allocations: 491.8 kB / 429.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2366, allocations: 13.3 kB / 429.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.2367, allocations: 51.11 kB / 429.2 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.2367, allocations: 22.3 kB / 429.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.2369, allocations: 220 kB / 429.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2369, allocations: 14.48 kB / 429.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.2369, allocations: 12.38 kB / 429.5 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.2372, allocations: 142.4 kB / 429.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.2372, allocations: 1.172 kB / 429.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2372, allocations: 5.953 kB / 429.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2372, allocations: 4.062 kB / 429.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.2375, allocations: 97.42 kB / 429.7 MB, free: 9.316 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.0006511/0.2381, allocations: 0.4941 MB / 430.2 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.2384, allocations: 161.7 kB / 430.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.2386, allocations: 99.22 kB / 430.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.2387, allocations: 6.922 kB / 430.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.2387, allocations: 40.33 kB / 430.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.2387, allocations: 0 / 430.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002356/0.2411, allocations: 0.8335 MB / 431.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.2411, allocations: 62.27 kB / 431.4 MB, free: 8.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2412, allocations: 179.8 kB / 431.6 MB, free: 8.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2413, allocations: 30.98 kB / 431.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.2413, allocations: 114.2 kB / 431.7 MB, free: 8.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.2414, allocations: 60.34 kB / 431.8 MB, free: 8.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.2414, allocations: 41.17 kB / 431.8 MB, free: 8.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.2415, allocations: 327.9 kB / 432.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2416, allocations: 54.94 kB / 432.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.2417, allocations: 48.89 kB / 432.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.2419, allocations: 121.7 kB / 432.4 MB, free: 7.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2419, allocations: 1.156 kB / 432.4 MB, free: 7.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00041/0.2423, allocations: 217.7 kB / 432.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2423, allocations: 10.67 kB / 432.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2423, allocations: 0.875 kB / 432.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/0.2429, allocations: 93.86 kB / 432.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.2434, allocations: 69.62 kB / 432.8 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004742/0.2439, allocations: 1.188 MB / 434 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.244, allocations: 12.19 kB / 434 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.244, allocations: 8.172 kB / 434 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001335/0.2442, allocations: 138.2 kB / 434.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.909e-05/0.2443, allocations: 47.34 kB / 434.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001806/0.2445, allocations: 115.8 kB / 434.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.2445, allocations: 0 / 434.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004499/0.2449, allocations: 225.7 kB / 434.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.2449, allocations: 5.844 kB / 434.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.2449, allocations: 4.438 kB / 434.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/0.2452, allocations: 72.89 kB / 434.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.2454, allocations: 42.36 kB / 434.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.2467, allocations: 1.84 MB / 436.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.2468, allocations: 3.766 kB / 436.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2468, allocations: 7.281 kB / 436.5 MB, free: 4.301 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 6.479e-05/0.2469, allocations: 191.2 kB / 436.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.2469, allocations: 15.88 kB / 436.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.2475, allocations: 243.7 kB / 436.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2475, allocations: 1.281 kB / 436.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2475, allocations: 4.938 kB / 436.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2475, allocations: 0.7969 kB / 436.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.2477, allocations: 251.5 kB / 437.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2477, allocations: 3.938 kB / 437.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.2482, allocations: 67.52 kB / 437.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.2487, allocations: 91.34 kB / 437.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.2487, allocations: 1.5 kB / 437.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004187/0.2491, allocations: 1.183 MB / 438.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2491, allocations: 1.969 kB / 438.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.2497, allocations: 395 kB / 438.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.2498, allocations: 109.6 kB / 439 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.2498, allocations: 4.609 kB / 439 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.25, allocations: 3.516 kB / 439 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.522e-05/0.25, allocations: 12.64 kB / 439 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.25, allocations: 3.625 kB / 439 MB, free: 2.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.685e-05/0.2501, allocations: 133.2 kB / 439.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.2501, allocations: 0 / 439.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.2505, allocations: 83.47 kB / 439.2 MB, free: 2.094 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.0007537/0.2513, allocations: 0.9289 MB / 440.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009722/0.2523, allocations: 379.1 kB / 440.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2523, allocations: 0 / 440.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.2527, allocations: 117.7 kB / 440.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.2531, allocations: 19.47 kB / 440.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.2557, allocations: 2.252 MB / 442.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.256, allocations: 0.7263 MB / 443.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.014e-05/0.2561, allocations: 18.12 kB / 443.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.2562, allocations: 41.05 kB / 443.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2562, allocations: 1 kB / 443.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.2798, allocations: 4.596 MB / 448.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.5, allocations: 9.094 kB / 448.3 MB, free: 13.91 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)