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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.0008877/0.0008877, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001018/0.001018, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01072/0.01072, allocations: 1.924 MB / 272.3 MB, free: 3.629 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.0004822/0.0004822, allocations: 12.22 kB / 331 MB, free: 33.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08758, allocations: 48.09 MB / 379.1 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002407/0.09004, allocations: 1.976 MB / 381 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009428/0.091, allocations: 0.6602 MB / 381.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.09109, allocations: 4 kB / 381.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.09114, allocations: 19.83 kB / 381.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.09133, allocations: 99.66 kB / 381.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.09152, allocations: 43.94 kB / 381.9 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.09172, allocations: 160 kB / 382 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.09183, allocations: 25.66 kB / 382 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.09197, allocations: 79.77 kB / 382.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.09209, allocations: 79.61 kB / 382.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.09212, allocations: 8 kB / 382.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.912e-05/0.09219, allocations: 16 kB / 382.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.09222, allocations: 27.89 kB / 382.2 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.09227, allocations: 61.58 kB / 382.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.09241, allocations: 120 kB / 382.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.09242, allocations: 0 / 382.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09243, allocations: 0 / 382.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.09244, allocations: 0 / 382.4 MB, free: 13.76 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.0006465/0.09309, allocations: 470.6 kB / 382.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.09314, allocations: 8.031 kB / 382.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.09319, allocations: 46.55 kB / 382.9 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.09323, allocations: 15.81 kB / 383 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.09345, allocations: 215.5 kB / 383.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.09348, allocations: 15.95 kB / 383.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.09351, allocations: 12 kB / 383.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.09375, allocations: 133.6 kB / 383.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.09377, allocations: 4 kB / 383.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.09379, allocations: 7.938 kB / 383.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.0938, allocations: 4 kB / 383.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.09402, allocations: 107.9 kB / 383.4 MB, free: 12.64 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.0007037/0.09473, allocations: 0.496 MB / 383.9 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.09504, allocations: 166.7 kB / 384.1 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.09507, allocations: 4 kB / 384.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.0951, allocations: 34.52 kB / 384.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.0951, allocations: 3.938 kB / 384.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002282/0.09739, allocations: 0.8266 MB / 385 MB, free: 10.97 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.09744, allocations: 51.41 kB / 385 MB, free: 10.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.0976, allocations: 182.9 kB / 385.2 MB, free: 10.72 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.09762, allocations: 29.7 kB / 385.2 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.09769, allocations: 112.5 kB / 385.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.09774, allocations: 59.11 kB / 385.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.09775, allocations: 4 kB / 385.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.09785, allocations: 322.8 kB / 385.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.09796, allocations: 51.97 kB / 385.8 MB, free: 10.13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.09806, allocations: 51.94 kB / 385.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.09817, allocations: 56.28 kB / 385.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.09818, allocations: 0 / 385.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003928/0.09858, allocations: 210.2 kB / 386.1 MB, free: 9.812 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.09864, allocations: 90.12 kB / 386.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.09865, allocations: 4 kB / 386.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.09925, allocations: 104.7 kB / 386.3 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.09971, allocations: 67.89 kB / 386.3 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006845/0.1004, allocations: 1.177 MB / 387.5 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1005, allocations: 8.031 kB / 387.5 MB, free: 8.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1006, allocations: 4 kB / 387.5 MB, free: 8.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.1006, allocations: 7.953 kB / 387.5 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004387/0.101, allocations: 180.8 kB / 387.7 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.101, allocations: 4 kB / 387.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.1013, allocations: 72.73 kB / 387.8 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1015, allocations: 39.97 kB / 387.8 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.103, allocations: 1.671 MB / 389.5 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.1031, allocations: 8.031 kB / 389.5 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1031, allocations: 4 kB / 389.5 MB, free: 6.184 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.1033, allocations: 209 kB / 389.7 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.1033, allocations: 15.81 kB / 389.7 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.1039, allocations: 240.2 kB / 390 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.1039, allocations: 11.92 kB / 390 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.1039, allocations: 0 / 390 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1039, allocations: 3.984 kB / 390 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.1042, allocations: 265.5 kB / 390.2 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1042, allocations: 0 / 390.2 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.1046, allocations: 63.95 kB / 390.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.1051, allocations: 84.78 kB / 390.4 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1051, allocations: 0 / 390.4 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00064/0.1057, allocations: 1.185 MB / 391.6 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1058, allocations: 0 / 391.6 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.1064, allocations: 394.3 kB / 391.9 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.1065, allocations: 108.9 kB / 392.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1065, allocations: 4 kB / 392.1 MB, free: 3.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1067, allocations: 8 kB / 392.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.1067, allocations: 15.94 kB / 392.1 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1067, allocations: 4.062 kB / 392.1 MB, free: 3.441 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1068, allocations: 140 kB / 392.2 MB, free: 3.305 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1068, allocations: 0 / 392.2 MB, free: 3.305 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000392/0.1072, allocations: 72 kB / 392.3 MB, free: 3.234 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009146/0.1081, allocations: 0.9199 MB / 393.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009858/0.1091, allocations: 399.9 kB / 393.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1092, allocations: 0 / 393.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.1096, allocations: 111.9 kB / 393.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1099, allocations: 16.12 kB / 393.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1118, allocations: 1.212 MB / 394.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.112, allocations: 0.7323 MB / 395.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.667e-05/0.1121, allocations: 13.42 kB / 395.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.1122, allocations: 47.36 kB / 395.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1122, allocations: 0 / 395.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.1287, allocations: 4.037 MB / 399.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.1289, allocations: 164 kB / 399.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.047, allocations: 0 / 399.9 MB, free: 11.41 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipeSegment_fmu --startTime=0 --stopTime=0.002 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipeSegment.fmu > MEV_MEV.Test.TestPipeSegment.pipe 2>&1) Environment - environmentSimulation: