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.004307/0.004307, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001125/0.001126, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.26/1.26, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007914/0.007914, allocations: 1.928 MB / 271.8 MB, free: 3.246 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.001373/0.001373, allocations: 63.91 kB / 377.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.07835, allocations: 47.13 MB / 424.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.1598/0.2382, allocations: 2.228 MB / 427.1 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.2392, allocations: 0.6448 MB / 427.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.2393, allocations: 5.156 kB / 427.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.7e-05/0.2393, allocations: 27.31 kB / 427.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2395, allocations: 64.08 kB / 427.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.2397, allocations: 58.55 kB / 427.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.2399, allocations: 232.4 kB / 428.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2401, allocations: 34.36 kB / 428.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2402, allocations: 87.91 kB / 428.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2403, allocations: 91.59 kB / 428.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.2403, allocations: 14.28 kB / 428.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.2404, allocations: 21.05 kB / 428.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.2405, allocations: 36.64 kB / 428.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.2405, allocations: 87.41 kB / 428.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.2407, allocations: 185.6 kB / 428.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2408, allocations: 4.344 kB / 428.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2408, allocations: 3.938 kB / 428.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2408, allocations: 1.25 kB / 428.7 MB, free: 10.05 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.0006402/0.2414, allocations: 482.5 kB / 429.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2415, allocations: 15.23 kB / 429.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.2415, allocations: 51.75 kB / 429.2 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.2415, allocations: 20.56 kB / 429.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2417, allocations: 215.9 kB / 429.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2417, allocations: 14.8 kB / 429.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.2418, allocations: 13.09 kB / 429.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.242, allocations: 138.8 kB / 429.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.242, allocations: 1.203 kB / 429.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.2421, allocations: 5.375 kB / 429.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2421, allocations: 6.562 kB / 429.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.2423, allocations: 99.23 kB / 429.7 MB, free: 9.32 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.0006609/0.2429, allocations: 495 kB / 430.2 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.2433, allocations: 172 kB / 430.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.2435, allocations: 97.39 kB / 430.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.2435, allocations: 1.656 kB / 430.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.2435, allocations: 42.73 kB / 430.5 MB, free: 8.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.2435, allocations: 0 / 430.5 MB, free: 8.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002494/0.246, allocations: 0.8374 MB / 431.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.2461, allocations: 58.45 kB / 431.4 MB, free: 8.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2462, allocations: 179.5 kB / 431.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2462, allocations: 30.73 kB / 431.6 MB, free: 8.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.2463, allocations: 110.7 kB / 431.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.2463, allocations: 59.88 kB / 431.8 MB, free: 8.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.2464, allocations: 45.94 kB / 431.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.2464, allocations: 326.7 kB / 432.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.2466, allocations: 51.39 kB / 432.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.301e-05/0.2467, allocations: 48.28 kB / 432.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.2469, allocations: 126.2 kB / 432.4 MB, free: 7.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2469, allocations: 0 / 432.4 MB, free: 7.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004368/0.2473, allocations: 219.2 kB / 432.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2473, allocations: 9.156 kB / 432.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2474, allocations: 0 / 432.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006524/0.248, allocations: 102.6 kB / 432.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.2485, allocations: 66.06 kB / 432.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005093/0.249, allocations: 1.19 MB / 433.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2492, allocations: 11.25 kB / 433.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2492, allocations: 4.938 kB / 433.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001344/0.2493, allocations: 139.2 kB / 434.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.475e-05/0.2494, allocations: 43.02 kB / 434.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001839/0.2496, allocations: 115.5 kB / 434.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.41e-07/0.2496, allocations: 0 / 434.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004717/0.2501, allocations: 229.6 kB / 434.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.2501, allocations: 6.094 kB / 434.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.2501, allocations: 0 / 434.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.2504, allocations: 76.62 kB / 434.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.2506, allocations: 42.53 kB / 434.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.252, allocations: 1.829 MB / 436.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.2521, allocations: 3.547 kB / 436.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.2521, allocations: 7.188 kB / 436.4 MB, free: 4.332 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.87e-05/0.2522, allocations: 200.3 kB / 436.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.2522, allocations: 15.28 kB / 436.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.2528, allocations: 240.2 kB / 436.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2528, allocations: 1.734 kB / 436.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2528, allocations: 1.594 kB / 436.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2528, allocations: 0.7031 kB / 436.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.253, allocations: 263.8 kB / 437.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.253, allocations: 7 kB / 437.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.2535, allocations: 59.03 kB / 437.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/0.254, allocations: 93.52 kB / 437.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.254, allocations: 1.469 kB / 437.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004426/0.2545, allocations: 1.18 MB / 438.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2545, allocations: 1.25 kB / 438.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006375/0.2551, allocations: 391.4 kB / 438.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.2552, allocations: 108.9 kB / 439 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.2552, allocations: 9.594 kB / 439 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2554, allocations: 4.688 kB / 439 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.2554, allocations: 11.64 kB / 439 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.609e-06/0.2554, allocations: 8.344 kB / 439 MB, free: 2.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.2555, allocations: 132 kB / 439.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.2555, allocations: 1.438 kB / 439.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004082/0.2559, allocations: 78.41 kB / 439.2 MB, free: 2.121 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.0007944/0.2567, allocations: 0.9203 MB / 440.1 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009881/0.2577, allocations: 388.3 kB / 440.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2578, allocations: 0 / 440.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.2582, allocations: 118.4 kB / 440.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.2586, allocations: 18.5 kB / 440.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.2612, allocations: 2.244 MB / 442.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2615, allocations: 0.7254 MB / 443.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.2616, allocations: 12.33 kB / 443.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.2617, allocations: 39.97 kB / 443.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2617, allocations: 0 / 443.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.2871, allocations: 4.71 MB / 448.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.41, allocations: 5.172 kB / 448.4 MB, free: 13.87 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)