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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8186/0.8186, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.005701/0.005701, allocations: 1.424 MB / 237.9 MB, free: 13.92 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.271e-05, allocations: 2.281 kB / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.00177/0.001783, allocations: 2.116 MB / 354.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006907/0.002473, allocations: 0.6285 MB / 355.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.002534, allocations: 4 kB / 355.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.622e-05/0.002581, allocations: 19.78 kB / 355.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.002698, allocations: 75.34 kB / 355.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.002913, allocations: 55.86 kB / 355.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.003069, allocations: 243.2 kB / 355.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.003175, allocations: 17.8 kB / 355.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.003302, allocations: 131.7 kB / 355.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.00338, allocations: 63.8 kB / 355.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.003409, allocations: 20 kB / 355.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.003483, allocations: 24 kB / 355.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.003508, allocations: 39.83 kB / 355.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.003547, allocations: 59.84 kB / 355.9 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.003724, allocations: 183.5 kB / 356.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.003727, allocations: 4 kB / 356.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003727, allocations: 3.938 kB / 356.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.003731, allocations: 0 / 356.1 MB, free: 12.21 MB / 282.7 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.0004686/0.0042, allocations: 417.4 kB / 356.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.004236, allocations: 15.92 kB / 356.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.004265, allocations: 46.73 kB / 356.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.004296, allocations: 24.8 kB / 356.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.004431, allocations: 150.2 kB / 356.8 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.004441, allocations: 12.38 kB / 356.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.004464, allocations: 16.31 kB / 356.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.004633, allocations: 134.2 kB / 356.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.004642, allocations: 4.188 kB / 356.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.004655, allocations: 8.125 kB / 356.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.00466, allocations: 4 kB / 356.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.004787, allocations: 99.94 kB / 357 MB, free: 11.23 MB / 282.7 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.000475/0.005262, allocations: 435.4 kB / 357.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.005474, allocations: 147.3 kB / 357.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.005607, allocations: 92.81 kB / 357.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.00563, allocations: 3.984 kB / 357.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.087e-05/0.00564, allocations: 34.56 kB / 357.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.005642, allocations: 0 / 357.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.00133/0.006972, allocations: 0.6976 MB / 358.4 MB, free: 9.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.006992, allocations: 51.41 kB / 358.5 MB, free: 9.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.007081, allocations: 191.2 kB / 358.7 MB, free: 9.477 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.00709, allocations: 29.7 kB / 358.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.007122, allocations: 112.5 kB / 358.8 MB, free: 9.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.007151, allocations: 59.48 kB / 358.9 MB, free: 9.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.007191, allocations: 41.66 kB / 358.9 MB, free: 9.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.774e-05/0.007229, allocations: 330.8 kB / 359.2 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.007299, allocations: 52.83 kB / 359.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.00736, allocations: 59.88 kB / 359.3 MB, free: 8.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.007496, allocations: 112.8 kB / 359.5 MB, free: 8.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.007497, allocations: 0 / 359.5 MB, free: 8.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002485/0.007746, allocations: 230.1 kB / 359.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.007758, allocations: 4 kB / 359.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.007764, allocations: 0 / 359.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/0.008125, allocations: 100.8 kB / 359.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.008358, allocations: 63.95 kB / 359.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003575/0.008715, allocations: 1.193 MB / 361 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/0.008773, allocations: 0 / 361 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.008783, allocations: 8.031 kB / 361 MB, free: 7.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.861e-05/0.008871, allocations: 148.3 kB / 361.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.259e-05/0.008924, allocations: 40.5 kB / 361.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001211/0.009045, allocations: 117.1 kB / 361.3 MB, free: 6.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.32e-07/0.009046, allocations: 3.938 kB / 361.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0002565/0.009302, allocations: 214.2 kB / 361.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.009309, allocations: 7.984 kB / 361.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.009311, allocations: 4 kB / 361.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.009456, allocations: 76.78 kB / 361.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.009593, allocations: 43.97 kB / 361.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008158/0.01041, allocations: 1.711 MB / 363.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.01046, allocations: 12.02 kB / 363.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.01046, allocations: 4 kB / 363.4 MB, free: 4.516 MB / 282.7 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 5.1e-05/0.01051, allocations: 188.1 kB / 363.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.01053, allocations: 15.91 kB / 363.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.01083, allocations: 248.1 kB / 363.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01083, allocations: 4 kB / 363.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.01083, allocations: 0 / 363.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01084, allocations: 0 / 363.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.01098, allocations: 200.7 kB / 364.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01098, allocations: 0 / 364.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.01118, allocations: 63.95 kB / 364.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/0.01142, allocations: 96.73 kB / 364.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01143, allocations: 7.938 kB / 364.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002687/0.0117, allocations: 1.174 MB / 365.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.0117, allocations: 7.969 kB / 365.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.01204, allocations: 395.1 kB / 365.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.01208, allocations: 31.91 kB / 365.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.0121, allocations: 0 / 365.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.01216, allocations: 7.938 kB / 365.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.01219, allocations: 15.88 kB / 365.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.0122, allocations: 4 kB / 365.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.696e-05/0.01225, allocations: 141.2 kB / 366 MB, free: 1.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01225, allocations: 0 / 366 MB, free: 1.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000262/0.01251, allocations: 76.06 kB / 366.1 MB, free: 1.746 MB / 282.7 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.0004809/0.013, allocations: 0.9084 MB / 367 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005897/0.01359, allocations: 382.6 kB / 367.3 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01359, allocations: 0 / 367.3 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.0138, allocations: 107.8 kB / 367.4 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.01403, allocations: 16 kB / 367.5 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.01599, allocations: 2.217 MB / 369.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.848e-05/0.01607, allocations: 116.6 kB / 369.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.01612, allocations: 17.47 kB / 369.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.01617, allocations: 40.48 kB / 369.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01618, allocations: 0 / 369.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.03342, allocations: 5.224 MB / 375.1 MB, free: 8.535 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/7.892, allocations: 8.25 kB / 375.1 MB, free: 8.527 MB / 298.7 MB " [Timeout remaining time 652] (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 --stepSize=8e-07 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipeSegment.fmu > MEV_MEV.Test.TestPipeSegment.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.524170080199838] Failed to read output from testmodel.py, exit status != 0: 7.9829793414101005 7.993257218 7.987590104 Calling exit ...