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.00486/0.00486, allocations: 106.7 kB / 15.74 MB, free: 5.996 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.001148/0.001148, allocations: 197 kB / 16.67 MB, free: 5.918 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.311/1.311, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008389/0.008389, allocations: 1.92 MB / 271.8 MB, free: 3.23 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.001457/0.001457, allocations: 63.91 kB / 377.7 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.076/0.07746, allocations: 47.14 MB / 424.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.156/0.2335, allocations: 2.221 MB / 427.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.2344, allocations: 0.6434 MB / 427.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.2345, allocations: 5.656 kB / 427.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.416e-05/0.2345, allocations: 27.02 kB / 427.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.2347, allocations: 68.78 kB / 427.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.235, allocations: 58.44 kB / 427.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.2352, allocations: 225.1 kB / 428.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2353, allocations: 32.38 kB / 428.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.2354, allocations: 94.03 kB / 428.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2356, allocations: 88.42 kB / 428.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.2356, allocations: 15.03 kB / 428.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.2357, allocations: 19.98 kB / 428.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.2357, allocations: 36.53 kB / 428.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.219e-05/0.2358, allocations: 91.05 kB / 428.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.236, allocations: 187.5 kB / 428.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.236, allocations: 0 / 428.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.236, allocations: 0 / 428.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.236, allocations: 3.625 kB / 428.7 MB, free: 10.04 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.0006448/0.2367, allocations: 483.5 kB / 429.1 MB, free: 9.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2367, allocations: 13.08 kB / 429.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.2368, allocations: 51.94 kB / 429.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.2368, allocations: 24.12 kB / 429.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.237, allocations: 221.7 kB / 429.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.237, allocations: 13.11 kB / 429.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.237, allocations: 13.28 kB / 429.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2373, allocations: 136.8 kB / 429.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2373, allocations: 0 / 429.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2373, allocations: 5.562 kB / 429.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.2374, allocations: 8.75 kB / 429.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.2376, allocations: 97.5 kB / 429.7 MB, free: 9.312 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.0006614/0.2382, allocations: 0.4933 MB / 430.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.2385, allocations: 161.7 kB / 430.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.2388, allocations: 93.75 kB / 430.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.2388, allocations: 1.125 kB / 430.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.2388, allocations: 46.03 kB / 430.5 MB, free: 8.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.2388, allocations: 0 / 430.5 MB, free: 8.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002477/0.2413, allocations: 0.8326 MB / 431.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.2413, allocations: 57.72 kB / 431.4 MB, free: 8.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.2415, allocations: 188.7 kB / 431.6 MB, free: 8.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.2415, allocations: 27.05 kB / 431.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.2416, allocations: 114 kB / 431.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.2416, allocations: 64.5 kB / 431.8 MB, free: 8.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.2417, allocations: 36.3 kB / 431.8 MB, free: 8.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.2417, allocations: 327.1 kB / 432.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2418, allocations: 52.91 kB / 432.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/0.2419, allocations: 47.52 kB / 432.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.2422, allocations: 129.6 kB / 432.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2422, allocations: 1 kB / 432.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004365/0.2426, allocations: 214 kB / 432.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2426, allocations: 9.406 kB / 432.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2427, allocations: 2.25 kB / 432.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.2433, allocations: 98.41 kB / 432.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.2438, allocations: 73.25 kB / 432.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004729/0.2443, allocations: 1.186 MB / 433.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2444, allocations: 7.453 kB / 433.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2444, allocations: 4.125 kB / 433.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001363/0.2445, allocations: 139.6 kB / 434.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.036e-05/0.2446, allocations: 50.28 kB / 434.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002026/0.2448, allocations: 111.8 kB / 434.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.2449, allocations: 0 / 434.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004778/0.2453, allocations: 227.3 kB / 434.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.2454, allocations: 5.781 kB / 434.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-06/0.2454, allocations: 2.312 kB / 434.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.2457, allocations: 77.84 kB / 434.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.2459, allocations: 41.89 kB / 434.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.2472, allocations: 1.832 MB / 436.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2473, allocations: 7.812 kB / 436.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.2473, allocations: 2.844 kB / 436.4 MB, free: 4.32 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 6.742e-05/0.2474, allocations: 196 kB / 436.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.2474, allocations: 16.59 kB / 436.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.248, allocations: 239.2 kB / 436.9 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.248, allocations: 1.438 kB / 436.9 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.248, allocations: 1.438 kB / 436.9 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.248, allocations: 1.266 kB / 436.9 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.2483, allocations: 259 kB / 437.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2483, allocations: 10.94 kB / 437.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.2487, allocations: 64.09 kB / 437.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/0.2493, allocations: 86.12 kB / 437.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2493, allocations: 5.672 kB / 437.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000415/0.2497, allocations: 1.187 MB / 438.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2497, allocations: 0.75 kB / 438.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.2503, allocations: 396.2 kB / 438.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.2504, allocations: 107.7 kB / 439 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.2505, allocations: 2.688 kB / 439 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.2506, allocations: 7.328 kB / 439 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.2506, allocations: 8.391 kB / 439 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2507, allocations: 8.75 kB / 439 MB, free: 2.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.599e-05/0.2508, allocations: 136.2 kB / 439.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.62e-07/0.2508, allocations: 0 / 439.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004109/0.2512, allocations: 76.03 kB / 439.2 MB, free: 2.105 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.0007985/0.252, allocations: 0.9165 MB / 440.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.253, allocations: 391.6 kB / 440.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.253, allocations: 3.938 kB / 440.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.2535, allocations: 109.5 kB / 440.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.2539, allocations: 18.2 kB / 440.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.2566, allocations: 2.238 MB / 442.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.2569, allocations: 0.7254 MB / 443.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.959e-05/0.257, allocations: 15.02 kB / 443.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.257, allocations: 41.06 kB / 443.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.257, allocations: 0 / 443.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.2822, allocations: 4.713 MB / 448.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.42, allocations: 5.203 kB / 448.4 MB, free: 13.88 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 & /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)