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.001804/0.001804, 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.001887/0.001887, allocations: 194.7 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.377/1.377, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00908/0.00908, allocations: 1.924 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.001685/0.001685, allocations: 67.84 kB / 329.9 MB, free: 32.71 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07903/0.08073, allocations: 47.13 MB / 377.1 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.003303/0.08407, allocations: 2.234 MB / 379.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.08519, allocations: 0.6325 MB / 379.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.08532, allocations: 4 kB / 379.9 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.386e-05/0.08542, allocations: 23.72 kB / 380 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.08561, allocations: 71.45 kB / 380 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.08586, allocations: 55.88 kB / 380.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.08611, allocations: 231.4 kB / 380.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.08625, allocations: 33.89 kB / 380.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.0864, allocations: 99.52 kB / 380.4 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.08655, allocations: 87.62 kB / 380.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.08658, allocations: 16 kB / 380.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.08666, allocations: 20 kB / 380.6 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.08671, allocations: 35.89 kB / 380.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.0868, allocations: 95.53 kB / 380.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.08701, allocations: 167.4 kB / 380.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.08702, allocations: 0 / 380.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.08703, allocations: 0 / 380.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.08704, allocations: 0 / 380.9 MB, free: 13.71 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007243/0.08777, allocations: 494.6 kB / 381.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.08781, allocations: 11.89 kB / 381.4 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.08786, allocations: 50.67 kB / 381.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.08792, allocations: 28.73 kB / 381.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.08812, allocations: 213.9 kB / 381.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.08815, allocations: 16.38 kB / 381.7 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.08818, allocations: 12.38 kB / 381.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.08844, allocations: 145.7 kB / 381.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.08846, allocations: 0 / 381.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.08848, allocations: 4 kB / 381.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.08849, allocations: 4 kB / 381.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.08871, allocations: 91.95 kB / 381.9 MB, free: 12.57 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.0007358/0.08946, allocations: 0.5039 MB / 382.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.08978, allocations: 158.7 kB / 382.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.09001, allocations: 96.81 kB / 382.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.09005, allocations: 4 kB / 382.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.09007, allocations: 34.5 kB / 382.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.09008, allocations: 4 kB / 382.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.00259/0.09268, allocations: 0.8363 MB / 383.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.09273, allocations: 55.34 kB / 383.6 MB, free: 10.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.09289, allocations: 186.9 kB / 383.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.09292, allocations: 29.7 kB / 383.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.09298, allocations: 108.5 kB / 383.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.09304, allocations: 71.08 kB / 384 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.09311, allocations: 37.62 kB / 384 MB, free: 10.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.09324, allocations: 330.8 kB / 384.3 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.09337, allocations: 48.84 kB / 384.4 MB, free: 9.891 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/0.09347, allocations: 53.64 kB / 384.4 MB, free: 9.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.09371, allocations: 121.1 kB / 384.6 MB, free: 9.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.09372, allocations: 4 kB / 384.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004513/0.09417, allocations: 218.1 kB / 384.8 MB, free: 9.492 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.0942, allocations: 6.969 kB / 384.8 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.09421, allocations: 3.938 kB / 384.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/0.09485, allocations: 100.8 kB / 384.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.09535, allocations: 67.94 kB / 385 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007189/0.09608, allocations: 1.185 MB / 386.1 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.09621, allocations: 12.02 kB / 386.1 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.09623, allocations: 4 kB / 386.2 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001534/0.09639, allocations: 136.1 kB / 386.3 MB, free: 7.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.385e-05/0.09649, allocations: 51.94 kB / 386.3 MB, free: 7.879 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001993/0.0967, allocations: 116.9 kB / 386.5 MB, free: 7.762 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.09671, allocations: 0 / 386.5 MB, free: 7.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0005053/0.09722, allocations: 226.6 kB / 386.7 MB, free: 7.531 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.926e-06/0.09724, allocations: 4 kB / 386.7 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.09725, allocations: 0 / 386.7 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/0.09756, allocations: 76.78 kB / 386.8 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.09777, allocations: 47.91 kB / 386.8 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.09947, allocations: 1.83 MB / 388.6 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.09959, allocations: 4.031 kB / 388.6 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.09961, allocations: 8 kB / 388.6 MB, free: 5.426 MB / 286.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 0.0001273/0.09975, allocations: 189 kB / 388.8 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.0998, allocations: 15.81 kB / 388.8 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.1004, allocations: 244.1 kB / 389.1 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1004, allocations: 4 kB / 389.1 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1004, allocations: 0 / 389.1 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1004, allocations: 0 / 389.1 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1007, allocations: 261.6 kB / 389.3 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1007, allocations: 3.938 kB / 389.3 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.1012, allocations: 63.95 kB / 389.4 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/0.1017, allocations: 88.77 kB / 389.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1018, allocations: 0 / 389.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006777/0.1024, allocations: 1.189 MB / 390.7 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1025, allocations: 0 / 390.7 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.1031, allocations: 388.1 kB / 391.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.1032, allocations: 108.9 kB / 391.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1033, allocations: 4 kB / 391.2 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.1034, allocations: 8.062 kB / 391.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.1035, allocations: 15.92 kB / 391.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1035, allocations: 4 kB / 391.2 MB, free: 2.707 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1036, allocations: 136.1 kB / 391.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1036, allocations: 4.062 kB / 391.3 MB, free: 2.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.1041, allocations: 75.94 kB / 391.4 MB, free: 2.496 MB / 286.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.0009931/0.1051, allocations: 0.9143 MB / 392.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.1062, allocations: 390.4 kB / 392.7 MB, free: 1.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1062, allocations: 3.938 kB / 392.7 MB, free: 1.156 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.1067, allocations: 111.9 kB / 392.8 MB, free: 1.047 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1071, allocations: 19.98 kB / 392.8 MB, free: 1.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.1103, allocations: 2.242 MB / 395.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1106, allocations: 0.7206 MB / 395.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.346e-05/0.1107, allocations: 21.41 kB / 395.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.1108, allocations: 39.42 kB / 395.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1108, allocations: 0 / 395.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.1349, allocations: 4.493 MB / 400.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.65, allocations: 4 kB / 400.4 MB, free: 9.332 MB / 302.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)