Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPipes.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.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",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.005546/0.005546, allocations: 101.9 kB / 15.73 MB, free: 6.469 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.001443/0.001443, allocations: 193.9 kB / 16.67 MB, free: 6.379 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.275/1.275, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008061/0.008061, allocations: 1.935 MB / 271.8 MB, free: 3.254 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.001474/0.001475, allocations: 71.89 kB / 377.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07415/0.07564, allocations: 47.12 MB / 424.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.1581/0.2338, allocations: 2.874 MB / 427.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.235, allocations: 0.7785 MB / 428.5 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2351, allocations: 3.125 kB / 428.5 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.652e-05/0.2352, allocations: 42.84 kB / 428.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.2354, allocations: 113.8 kB / 428.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.2357, allocations: 106.4 kB / 428.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.2361, allocations: 421 kB / 429.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2362, allocations: 66.58 kB / 429.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.2364, allocations: 153 kB / 429.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.2367, allocations: 167.4 kB / 429.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.2367, allocations: 29.53 kB / 429.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.2368, allocations: 45.77 kB / 429.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.2369, allocations: 72.34 kB / 429.7 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.237, allocations: 161.1 kB / 429.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.2374, allocations: 335.4 kB / 430.2 MB, free: 9.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2374, allocations: 2.984 kB / 430.2 MB, free: 9.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2375, allocations: 0 / 430.2 MB, free: 9.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.2375, allocations: 0 / 430.2 MB, free: 9.43 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009848/0.2385, allocations: 0.6126 MB / 430.8 MB, free: 8.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2385, allocations: 18.27 kB / 430.8 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.2386, allocations: 57.58 kB / 430.9 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.2386, allocations: 35.27 kB / 430.9 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.2389, allocations: 265.6 kB / 431.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2389, allocations: 21.94 kB / 431.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.239, allocations: 28.12 kB / 431.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.2394, allocations: 233.6 kB / 431.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2394, allocations: 0 / 431.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2394, allocations: 11.11 kB / 431.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2394, allocations: 5.5 kB / 431.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.2398, allocations: 180.3 kB / 431.7 MB, free: 8.461 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.001089/0.2409, allocations: 0.7272 MB / 432.4 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.2415, allocations: 315 kB / 432.7 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.2418, allocations: 157.9 kB / 432.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.2418, allocations: 4.359 kB / 432.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.2418, allocations: 38.75 kB / 432.9 MB, free: 7.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.2418, allocations: 0 / 432.9 MB, free: 7.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.005096/0.2469, allocations: 1.541 MB / 434.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.889e-05/0.247, allocations: 56.25 kB / 434.5 MB, free: 6.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.2472, allocations: 232.7 kB / 434.7 MB, free: 6.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2472, allocations: 31.86 kB / 434.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.2473, allocations: 132.5 kB / 434.9 MB, free: 6.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.2473, allocations: 132.1 kB / 435 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.2474, allocations: 59.48 kB / 435.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.2475, allocations: 331.9 kB / 435.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.2477, allocations: 107.6 kB / 435.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2479, allocations: 94.55 kB / 435.6 MB, free: 6.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.2482, allocations: 229.6 kB / 435.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2483, allocations: 0 / 435.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007673/0.249, allocations: 397.9 kB / 436.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2491, allocations: 13.34 kB / 436.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.2491, allocations: 0.6562 kB / 436.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.2507, allocations: 266.4 kB / 436.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.2512, allocations: 87.25 kB / 436.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009774/0.2522, allocations: 1.867 MB / 438.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.2524, allocations: 8.594 kB / 438.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2524, allocations: 10.81 kB / 438.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002273/0.2527, allocations: 189.1 kB / 438.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001517/0.2528, allocations: 92.64 kB / 438.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003277/0.2532, allocations: 223.6 kB / 438.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.2532, allocations: 1.312 kB / 438.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009733/0.2542, allocations: 433.6 kB / 439.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.2542, allocations: 7.906 kB / 439.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.2542, allocations: 3.938 kB / 439.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000735/0.2549, allocations: 194.2 kB / 439.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.2552, allocations: 61.19 kB / 439.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.2586, allocations: 3.991 MB / 443.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2588, allocations: 12.38 kB / 443.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2589, allocations: 13.41 kB / 443.6 MB, free: 15.84 MB / 334.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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,10), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.259, allocations: 196.8 kB / 443.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.2591, allocations: 28.94 kB / 443.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008443/0.2599, allocations: 413.7 kB / 444.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2599, allocations: 4.422 kB / 444.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2599, allocations: 1.906 kB / 444.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2599, allocations: 1.594 kB / 444.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.2604, allocations: 352.9 kB / 444.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2604, allocations: 4 kB / 444.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.2609, allocations: 82.06 kB / 444.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.2623, allocations: 250.5 kB / 444.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.2624, allocations: 15.25 kB / 444.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.2636, allocations: 1.853 MB / 446.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2636, allocations: 1.375 kB / 446.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.2646, allocations: 0.6071 MB / 447.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2648, allocations: 132.4 kB / 447.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.2648, allocations: 15.61 kB / 447.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.2651, allocations: 13.28 kB / 447.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.2651, allocations: 15.3 kB / 447.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2651, allocations: 14.88 kB / 447.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.2653, allocations: 172.4 kB / 447.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2653, allocations: 0 / 447.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005639/0.2659, allocations: 144.4 kB / 447.9 MB, free: 12.72 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipeSegment1.p,pipeSegment2.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,6), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.2672, allocations: 1.153 MB / 449.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.269, allocations: 0.7621 MB / 449.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.269, allocations: 1.344 kB / 449.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007259/0.2698, allocations: 210.8 kB / 450 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.2702, allocations: 49.8 kB / 450.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.2748, allocations: 3.19 MB / 453.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.2751, allocations: 0.772 MB / 454 MB, free: 8.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2752, allocations: 25.19 kB / 454.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.2753, allocations: 71.84 kB / 454.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2753, allocations: 3.938 kB / 454.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3046, allocations: 8.372 MB / 462.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.75, allocations: 7.688 kB / 462.5 MB, free: 4.215 MB / 334.1 MB (rm -f MEV_MEV.Test.TestPipes.pipe ; mkfifo MEV_MEV.Test.TestPipes.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipes.pipe >> ../files/MEV_MEV.Test.TestPipes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipes.fmu > MEV_MEV.Test.TestPipes.pipe 2>&1)