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.000983/0.000983, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000989/0.000989, allocations: 191 kB / 16.14 MB, free: 6.688 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.583/1.583, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009506/0.009506, allocations: 1.928 MB / 271.3 MB, free: 3.551 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.001495/0.001495, allocations: 67.84 kB / 329.3 MB, free: 33.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.0899, allocations: 47.14 MB / 376.4 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.003764/0.09369, allocations: 2.544 MB / 378.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.09496, allocations: 0.6753 MB / 379.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.09516, allocations: 4 kB / 379.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.707e-05/0.09525, allocations: 15.89 kB / 379.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.0955, allocations: 59.55 kB / 379.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.09576, allocations: 51.89 kB / 379.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.09603, allocations: 215.4 kB / 380 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.09616, allocations: 41.86 kB / 380 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.09633, allocations: 71.72 kB / 380.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.09649, allocations: 87.55 kB / 380.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.09652, allocations: 16 kB / 380.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.0966, allocations: 12 kB / 380.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.09664, allocations: 35.83 kB / 380.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.09674, allocations: 91.47 kB / 380.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.09695, allocations: 163.4 kB / 380.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.09696, allocations: 0 / 380.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09697, allocations: 0 / 380.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.09698, allocations: 0 / 380.5 MB, free: 13.89 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.0007499/0.09774, allocations: 498.6 kB / 380.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.09778, allocations: 8.031 kB / 381 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.09783, allocations: 42.75 kB / 381 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.09789, allocations: 24.73 kB / 381 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.0981, allocations: 216.7 kB / 381.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.09812, allocations: 8.375 kB / 381.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.09816, allocations: 12.38 kB / 381.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.09843, allocations: 145.7 kB / 381.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.09845, allocations: 3.938 kB / 381.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.09847, allocations: 4 kB / 381.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.09848, allocations: 4 kB / 381.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.0987, allocations: 91.95 kB / 381.5 MB, free: 12.75 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.0007683/0.09947, allocations: 0.5038 MB / 382 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.0998, allocations: 162.7 kB / 382.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.1, allocations: 96.81 kB / 382.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1001, allocations: 4 kB / 382.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.1001, allocations: 34.5 kB / 382.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.1001, allocations: 0 / 382.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002553/0.1027, allocations: 0.8422 MB / 383.1 MB, free: 10.97 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1027, allocations: 55.34 kB / 383.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1029, allocations: 182.9 kB / 383.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1029, allocations: 33.7 kB / 383.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.103, allocations: 108.5 kB / 383.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.103, allocations: 63.02 kB / 383.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.1031, allocations: 37.7 kB / 383.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.1032, allocations: 334.8 kB / 383.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1034, allocations: 52.83 kB / 384 MB, free: 10.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1035, allocations: 47.98 kB / 384 MB, free: 10.03 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1037, allocations: 125 kB / 384.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1037, allocations: 0 / 384.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004453/0.1042, allocations: 218.2 kB / 384.4 MB, free: 9.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1042, allocations: 8 kB / 384.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1042, allocations: 0 / 384.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/0.1049, allocations: 96.77 kB / 384.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.1054, allocations: 63.95 kB / 384.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006841/0.1061, allocations: 1.189 MB / 385.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.1062, allocations: 8.031 kB / 385.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1062, allocations: 7.938 kB / 385.7 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001532/0.1064, allocations: 140.1 kB / 385.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.683e-05/0.1065, allocations: 52 kB / 385.9 MB, free: 8.066 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001873/0.1066, allocations: 109.4 kB / 386 MB, free: 7.957 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.1067, allocations: 0 / 386 MB, free: 7.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004781/0.1071, allocations: 234.1 kB / 386.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.1072, allocations: 4 kB / 386.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.1072, allocations: 0 / 386.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003122/0.1075, allocations: 72.73 kB / 386.3 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.1077, allocations: 47.97 kB / 386.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.1093, allocations: 1.643 MB / 388 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.825e-05/0.1094, allocations: 0 / 388 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1094, allocations: 8.031 kB / 388 MB, free: 5.812 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.0001032/0.1095, allocations: 197 kB / 388.2 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.1095, allocations: 15.81 kB / 388.2 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.1101, allocations: 244.1 kB / 388.5 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1101, allocations: 0 / 388.5 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1101, allocations: 0 / 388.5 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1101, allocations: 3.984 kB / 388.5 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1104, allocations: 261.6 kB / 388.7 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1104, allocations: 0 / 388.7 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.1108, allocations: 59.95 kB / 388.8 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/0.1113, allocations: 84.78 kB / 388.9 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.1114, allocations: 11.92 kB / 388.9 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005987/0.112, allocations: 1.185 MB / 390.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.112, allocations: 0 / 390.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.1126, allocations: 398.3 kB / 390.5 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.1127, allocations: 108.9 kB / 390.6 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1128, allocations: 4 kB / 390.6 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1129, allocations: 7.984 kB / 390.6 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1129, allocations: 11.98 kB / 390.6 MB, free: 3.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.113, allocations: 8.062 kB / 390.6 MB, free: 3.082 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.1131, allocations: 128.1 kB / 390.7 MB, free: 2.957 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1131, allocations: 4.062 kB / 390.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.1135, allocations: 72 kB / 390.8 MB, free: 2.883 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.0009112/0.1144, allocations: 0.9198 MB / 391.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.1154, allocations: 378.4 kB / 392.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1154, allocations: 0 / 392.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.1159, allocations: 115.8 kB / 392.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1162, allocations: 24.91 kB / 392.2 MB, free: 1.414 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.1191, allocations: 2.302 MB / 394.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1194, allocations: 0.7245 MB / 395.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.1195, allocations: 13.42 kB / 395.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.1196, allocations: 43.42 kB / 395.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1196, allocations: 0 / 395.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3019/0.4214, allocations: 4.237 MB / 399.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.4217, allocations: 186.2 kB / 399.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.54, allocations: 0 / 399.7 MB, free: 9.699 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/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)