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: translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001248, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001244/0.001244, allocations: 191 kB / 17.29 MB, free: 5.516 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.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01052/0.01052, allocations: 1.933 MB / 272.5 MB, free: 10.06 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.001364/0.001364, allocations: 75.89 kB / 331.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3015, allocations: 47.11 MB / 378.4 MB, free: 53.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.003924/0.3055, allocations: 2.878 MB / 381.3 MB, free: 51.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3067, allocations: 0.784 MB / 382.1 MB, free: 51.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3069, allocations: 2.969 kB / 382.1 MB, free: 51.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.307, allocations: 40.75 kB / 382.1 MB, free: 51.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.3073, allocations: 117.6 kB / 382.2 MB, free: 51.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.3076, allocations: 99.47 kB / 382.3 MB, free: 51.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.3082, allocations: 422 kB / 382.7 MB, free: 51.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.3084, allocations: 65.47 kB / 382.8 MB, free: 51.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.3086, allocations: 155.4 kB / 382.9 MB, free: 51.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.3089, allocations: 163.8 kB / 383.1 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.493e-05/0.309, allocations: 31.56 kB / 383.1 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3091, allocations: 44.64 kB / 383.2 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.3092, allocations: 71.33 kB / 383.2 MB, free: 51.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3094, allocations: 165.7 kB / 383.4 MB, free: 51.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.3099, allocations: 333.9 kB / 383.7 MB, free: 51.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3099, allocations: 0 / 383.7 MB, free: 51.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3099, allocations: 0 / 383.7 MB, free: 51.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3099, allocations: 0.7031 kB / 383.7 MB, free: 51.31 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.001156/0.3111, allocations: 0.6158 MB / 384.3 MB, free: 50.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3112, allocations: 14.44 kB / 384.4 MB, free: 50.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.3112, allocations: 31.38 kB / 384.4 MB, free: 50.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.3115, allocations: 270.7 kB / 384.7 MB, free: 50.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.3115, allocations: 19.53 kB / 384.7 MB, free: 50.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.3116, allocations: 25.11 kB / 384.7 MB, free: 50.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.312, allocations: 233.2 kB / 384.9 MB, free: 50.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3121, allocations: 3.938 kB / 384.9 MB, free: 50.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3121, allocations: 13.38 kB / 384.9 MB, free: 50.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.3121, allocations: 6.234 kB / 384.9 MB, free: 50.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.3125, allocations: 187.7 kB / 385.1 MB, free: 50.34 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.001254/0.3138, allocations: 0.7257 MB / 385.9 MB, free: 49.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.3144, allocations: 317.6 kB / 386.2 MB, free: 49.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.3146, allocations: 158.8 kB / 386.3 MB, free: 49.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.3147, allocations: 5.031 kB / 386.3 MB, free: 49.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3147, allocations: 32.67 kB / 386.4 MB, free: 49.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.455e-06/0.3147, allocations: 4 kB / 386.4 MB, free: 49.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.005261/0.32, allocations: 1.529 MB / 387.9 MB, free: 48.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3201, allocations: 63.41 kB / 388 MB, free: 48.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.3203, allocations: 233.5 kB / 388.2 MB, free: 48.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.3204, allocations: 31.08 kB / 388.2 MB, free: 48.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.3205, allocations: 131.9 kB / 388.3 MB, free: 48.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.3206, allocations: 128.2 kB / 388.5 MB, free: 48.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3207, allocations: 56.08 kB / 388.5 MB, free: 48.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3208, allocations: 336.6 kB / 388.8 MB, free: 48.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.321, allocations: 102.9 kB / 388.9 MB, free: 47.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3212, allocations: 91.89 kB / 389 MB, free: 47.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.3217, allocations: 231.1 kB / 389.3 MB, free: 47.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3217, allocations: 3.938 kB / 389.3 MB, free: 47.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008603/0.3226, allocations: 397.7 kB / 389.7 MB, free: 47.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3226, allocations: 12.28 kB / 389.7 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3226, allocations: 3.938 kB / 389.7 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/0.3243, allocations: 270.9 kB / 389.9 MB, free: 47.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.3249, allocations: 85.77 kB / 390 MB, free: 47.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.326, allocations: 1.856 MB / 391.9 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.3262, allocations: 13.47 kB / 391.9 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.3263, allocations: 11.69 kB / 391.9 MB, free: 45.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002523/0.3265, allocations: 189.9 kB / 392.1 MB, free: 45.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001746/0.3267, allocations: 98.47 kB / 392.2 MB, free: 45.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003567/0.3271, allocations: 212.2 kB / 392.4 MB, free: 45.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.3271, allocations: 1.219 kB / 392.4 MB, free: 45.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001157/0.3282, allocations: 439.6 kB / 392.8 MB, free: 45.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3283, allocations: 5.094 kB / 392.8 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3283, allocations: 1.5 kB / 392.8 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007976/0.3291, allocations: 196.4 kB / 393 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.3294, allocations: 61.17 kB / 393.1 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/0.3331, allocations: 3.987 MB / 397.1 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.3333, allocations: 20.7 kB / 397.1 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3333, allocations: 8.656 kB / 397.1 MB, free: 41.77 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 (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.0001148/0.3334, allocations: 198.8 kB / 397.3 MB, free: 41.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.3335, allocations: 29.94 kB / 397.3 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008732/0.3343, allocations: 411.9 kB / 397.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3344, allocations: 4.156 kB / 397.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3344, allocations: 2.062 kB / 397.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.3344, allocations: 5.328 kB / 397.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.3349, allocations: 356.8 kB / 398.1 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3349, allocations: 1.094 kB / 398.1 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.3355, allocations: 77.58 kB / 398.2 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.3369, allocations: 251.4 kB / 398.4 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.3369, allocations: 9.312 kB / 398.4 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.338, allocations: 1.856 MB / 400.3 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.338, allocations: 0.5625 kB / 400.3 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3391, allocations: 0.6156 MB / 400.9 MB, free: 38.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.3393, allocations: 136.8 kB / 401 MB, free: 38.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.3393, allocations: 6.906 kB / 401 MB, free: 38.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.3395, allocations: 7.328 kB / 401 MB, free: 38.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.3396, allocations: 21.47 kB / 401.1 MB, free: 38.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3396, allocations: 9.719 kB / 401.1 MB, free: 38.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.3398, allocations: 176.4 kB / 401.2 MB, free: 38.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3398, allocations: 0 / 401.2 MB, free: 38.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006379/0.3405, allocations: 144.3 kB / 401.4 MB, free: 38.65 MB / 318.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.0001469/0.3406, allocations: 103.2 kB / 401.5 MB, free: 38.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.3424, allocations: 0.7744 MB / 402.2 MB, free: 38.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3424, allocations: 0 / 402.2 MB, free: 38.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006804/0.3431, allocations: 207.1 kB / 402.5 MB, free: 38.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.3435, allocations: 42.8 kB / 402.5 MB, free: 38.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3452, allocations: 0.8025 MB / 403.3 MB, free: 37.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3454, allocations: 0.772 MB / 404.1 MB, free: 36.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.3455, allocations: 24.23 kB / 404.1 MB, free: 36.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.3456, allocations: 16.97 kB / 404.1 MB, free: 36.94 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3456, allocations: 0 / 404.1 MB, free: 36.94 MB / 318.1 MB Notification: Performance of Templates: time 0.01005/0.3556, allocations: 5.421 MB / 409.5 MB, free: 35.06 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestPipes.makefile (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 & ./MEV_MEV.Test.TestPipes -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > MEV_MEV.Test.TestPipes.pipe 2>&1)