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.0007036/0.0007036, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0007831/0.0007831, allocations: 172.7 kB / 15.95 MB, free: 208 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.157/1.157, allocations: 205.4 MB / 222.1 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007308/0.007308, allocations: 1.932 MB / 272.3 MB, free: 3.617 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.000431/0.0004311, allocations: 16 kB / 331 MB, free: 33.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06542/0.06586, allocations: 48.11 MB / 379.1 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.00201/0.0679, allocations: 2.105 MB / 381.2 MB, free: 15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008349/0.06875, allocations: 0.6445 MB / 381.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.06884, allocations: 4 kB / 381.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.857e-05/0.06889, allocations: 19.83 kB / 381.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.06906, allocations: 79.31 kB / 381.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.06924, allocations: 43.89 kB / 382 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.06946, allocations: 211.4 kB / 382.2 MB, free: 14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.06957, allocations: 29.67 kB / 382.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.06969, allocations: 79.64 kB / 382.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.06983, allocations: 71.69 kB / 382.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.06986, allocations: 8 kB / 382.4 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.863e-05/0.06993, allocations: 16 kB / 382.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.06996, allocations: 27.84 kB / 382.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.07001, allocations: 61.64 kB / 382.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.07017, allocations: 123.9 kB / 382.6 MB, free: 13.58 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.07018, allocations: 4 kB / 382.6 MB, free: 13.58 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.07019, allocations: 7.875 kB / 382.6 MB, free: 13.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.0702, allocations: 0 / 382.6 MB, free: 13.57 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.0006091/0.07082, allocations: 462.6 kB / 383.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.07086, allocations: 8.031 kB / 383.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.0709, allocations: 46.55 kB / 383.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.07094, allocations: 15.81 kB / 383.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.07114, allocations: 215.4 kB / 383.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.07116, allocations: 11.95 kB / 383.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.0712, allocations: 16 kB / 383.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.07145, allocations: 137.6 kB / 383.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.07147, allocations: 3.984 kB / 383.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.07149, allocations: 4 kB / 383.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.0715, allocations: 4 kB / 383.5 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.0717, allocations: 111.9 kB / 383.6 MB, free: 12.45 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.000667/0.07237, allocations: 0.4961 MB / 384.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.07267, allocations: 162.7 kB / 384.3 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.07287, allocations: 96.81 kB / 384.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.0729, allocations: 4 kB / 384.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.07293, allocations: 34.52 kB / 384.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.07294, allocations: 0 / 384.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002278/0.07522, allocations: 0.8576 MB / 385.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.07526, allocations: 55.36 kB / 385.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.07542, allocations: 186.9 kB / 385.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.07544, allocations: 25.7 kB / 385.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.07551, allocations: 116.5 kB / 385.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.07557, allocations: 63.09 kB / 385.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/0.07558, allocations: 7.938 kB / 385.7 MB, free: 10.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.07569, allocations: 326.8 kB / 386 MB, free: 9.859 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/0.07579, allocations: 39.98 kB / 386.1 MB, free: 9.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/0.07588, allocations: 47.98 kB / 386.1 MB, free: 9.773 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.07599, allocations: 64.28 kB / 386.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.076, allocations: 0 / 386.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003661/0.07637, allocations: 202.2 kB / 386.4 MB, free: 9.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.07644, allocations: 94.12 kB / 386.5 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.07645, allocations: 0 / 386.5 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/0.07698, allocations: 100.7 kB / 386.6 MB, free: 9.301 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.07741, allocations: 67.94 kB / 386.6 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006298/0.07806, allocations: 1.185 MB / 387.8 MB, free: 8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.07817, allocations: 12.02 kB / 387.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.07819, allocations: 7.938 kB / 387.8 MB, free: 7.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/0.07821, allocations: 4.156 kB / 387.8 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004076/0.07862, allocations: 184.7 kB / 388 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.07863, allocations: 7.891 kB / 388 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000255/0.07889, allocations: 72.8 kB / 388.1 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.07908, allocations: 43.97 kB / 388.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.08052, allocations: 1.639 MB / 389.8 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.627e-05/0.08062, allocations: 8.031 kB / 389.8 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.08064, allocations: 7.938 kB / 389.8 MB, free: 5.883 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.0001289/0.08077, allocations: 213.1 kB / 390 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.08081, allocations: 15.88 kB / 390 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.08132, allocations: 240.2 kB / 390.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.08135, allocations: 4 kB / 390.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.08136, allocations: 3.984 kB / 390.3 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.08137, allocations: 4 kB / 390.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.08162, allocations: 253.5 kB / 390.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.08163, allocations: 0 / 390.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.082, allocations: 59.95 kB / 390.6 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.08243, allocations: 104.7 kB / 390.7 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.08246, allocations: 4 kB / 390.7 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006144/0.08308, allocations: 1.174 MB / 391.9 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.08309, allocations: 8 kB / 391.9 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.08368, allocations: 394.1 kB / 392.2 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.08378, allocations: 113 kB / 392.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.0838, allocations: 0 / 392.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.08392, allocations: 11.98 kB / 392.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.08397, allocations: 7.984 kB / 392.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.08398, allocations: 8 kB / 392.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.536e-05/0.08408, allocations: 128.1 kB / 392.5 MB, free: 3.012 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08409, allocations: 0 / 392.5 MB, free: 3.012 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.08445, allocations: 72 kB / 392.6 MB, free: 2.941 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.0008432/0.0853, allocations: 0.9239 MB / 393.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008874/0.0862, allocations: 390.9 kB / 393.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.08621, allocations: 0 / 393.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.08661, allocations: 117.1 kB / 394 MB, free: 1.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.08691, allocations: 24.11 kB / 394 MB, free: 1.457 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.08865, allocations: 1.237 MB / 395.3 MB, free: 172 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.08892, allocations: 0.7285 MB / 396 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.08899, allocations: 13.36 kB / 396 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.08906, allocations: 43.42 kB / 396 MB, free: 15.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.08906, allocations: 0 / 396 MB, free: 15.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.1034, allocations: 4.047 MB / 400.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.1036, allocations: 172 kB / 400.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.673, allocations: 0 / 400.3 MB, free: 11.07 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: