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.007301/0.007301, allocations: 100.7 kB / 15.73 MB, free: 6.066 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.001261/0.001261, allocations: 196.2 kB / 16.68 MB, free: 5.973 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.29/1.29, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008502/0.008502, allocations: 1.932 MB / 271.8 MB, free: 3.234 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.001492/0.001492, allocations: 63.91 kB / 377.7 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07248/0.07399, allocations: 47.12 MB / 424.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.1545/0.2285, allocations: 2.251 MB / 427.1 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2297, allocations: 0.6416 MB / 427.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.2299, allocations: 2.469 kB / 427.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.2301, allocations: 25.69 kB / 427.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.2303, allocations: 65.53 kB / 427.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.2306, allocations: 55.09 kB / 427.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.2309, allocations: 231.3 kB / 428.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2311, allocations: 32.88 kB / 428.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.2313, allocations: 91.22 kB / 428.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.2315, allocations: 92.62 kB / 428.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.2315, allocations: 13.94 kB / 428.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.2316, allocations: 23.89 kB / 428.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.2317, allocations: 37.16 kB / 428.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.2318, allocations: 85.22 kB / 428.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.232, allocations: 182.6 kB / 428.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.232, allocations: 2.25 kB / 428.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2321, allocations: 7.281 kB / 428.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2321, allocations: 0 / 428.7 MB, free: 10.03 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.0006832/0.2328, allocations: 496.6 kB / 429.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2328, allocations: 16.77 kB / 429.2 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.2328, allocations: 45.39 kB / 429.2 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.2329, allocations: 21.14 kB / 429.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.2331, allocations: 215.8 kB / 429.5 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2331, allocations: 13.56 kB / 429.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.2331, allocations: 13.31 kB / 429.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.2334, allocations: 137.7 kB / 429.6 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2334, allocations: 1.078 kB / 429.6 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2334, allocations: 6.281 kB / 429.6 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2334, allocations: 7.719 kB / 429.6 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.2337, allocations: 96.86 kB / 429.7 MB, free: 9.297 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.0007186/0.2344, allocations: 0.4972 MB / 430.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.2347, allocations: 166.9 kB / 430.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.235, allocations: 94.23 kB / 430.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.235, allocations: 2.766 kB / 430.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.235, allocations: 40.2 kB / 430.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.235, allocations: 0 / 430.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002508/0.2376, allocations: 0.8345 MB / 431.4 MB, free: 8.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.2376, allocations: 58.69 kB / 431.4 MB, free: 8.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.2377, allocations: 184.1 kB / 431.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.2378, allocations: 26.77 kB / 431.6 MB, free: 8.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.2378, allocations: 113.9 kB / 431.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.2379, allocations: 60.16 kB / 431.8 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.2379, allocations: 48.44 kB / 431.8 MB, free: 8.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.238, allocations: 327.4 kB / 432.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.2381, allocations: 51.44 kB / 432.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.965e-05/0.2382, allocations: 48.73 kB / 432.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.2384, allocations: 118.6 kB / 432.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.2384, allocations: 1.062 kB / 432.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004516/0.2389, allocations: 222.3 kB / 432.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2389, allocations: 10.89 kB / 432.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2389, allocations: 0 / 432.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.2396, allocations: 105.2 kB / 432.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.24, allocations: 66.06 kB / 432.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000487/0.2405, allocations: 1.187 MB / 434 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.2407, allocations: 7.906 kB / 434 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.2407, allocations: 3.75 kB / 434 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001389/0.2408, allocations: 139.1 kB / 434.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.243e-05/0.2409, allocations: 54.11 kB / 434.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000194/0.2411, allocations: 120.4 kB / 434.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.2411, allocations: 0 / 434.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004694/0.2416, allocations: 223 kB / 434.5 MB, free: 6.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.2416, allocations: 4.531 kB / 434.5 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.2417, allocations: 1.5 kB / 434.5 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.2419, allocations: 73.12 kB / 434.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.2422, allocations: 42.53 kB / 434.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.2435, allocations: 1.835 MB / 436.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2436, allocations: 4.609 kB / 436.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2436, allocations: 6.406 kB / 436.5 MB, free: 4.281 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.327e-05/0.2437, allocations: 199.6 kB / 436.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.2437, allocations: 16.48 kB / 436.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.2443, allocations: 235 kB / 436.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2443, allocations: 2.859 kB / 436.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.2443, allocations: 0 / 436.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2443, allocations: 2.078 kB / 436.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.2446, allocations: 263.6 kB / 437.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2446, allocations: 7.125 kB / 437.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.245, allocations: 58.69 kB / 437.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004981/0.2455, allocations: 93.95 kB / 437.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2455, allocations: 1.859 kB / 437.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004219/0.246, allocations: 1.177 MB / 438.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.246, allocations: 1.125 kB / 438.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.2466, allocations: 404 kB / 438.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.2467, allocations: 108.4 kB / 439 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2467, allocations: 5.812 kB / 439 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2469, allocations: 7.234 kB / 439 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.2469, allocations: 9.047 kB / 439 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2469, allocations: 8.375 kB / 439 MB, free: 2.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.247, allocations: 136.1 kB / 439.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.247, allocations: 0 / 439.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004219/0.2475, allocations: 76.17 kB / 439.2 MB, free: 2.066 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.0008007/0.2483, allocations: 0.9199 MB / 440.2 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009912/0.2493, allocations: 384.7 kB / 440.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2493, allocations: 0 / 440.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004624/0.2498, allocations: 112.8 kB / 440.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.2501, allocations: 21.48 kB / 440.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.253, allocations: 2.247 MB / 442.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.2534, allocations: 0.7308 MB / 443.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.5e-05/0.2534, allocations: 13.36 kB / 443.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.2535, allocations: 40.72 kB / 443.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2535, allocations: 0 / 443.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.2792, allocations: 4.604 MB / 448.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.29, allocations: 10.31 kB / 448.3 MB, free: 13.89 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)